#1A237E
Material indigo 900
#1A237E is a blue colour. In RGB it is 26 red, 35 green and 126 blue, which converts to a hue of 235 degrees, 66% saturation and 30% lightness. It is Material indigo 900 in that design system's palette.
Color values
| HEX | #1A237E |
|---|---|
| RGB | rgb(26, 35, 126) |
| HSL | hsl(235, 66%, 30%) |
| HSV | hsv(235, 79%, 49%) |
| CMYK | cmyk(79%, 72%, 0%, 51%) |
Contrast and accessibility
Against white the contrast ratio is 13.24:1, and against black it is 1.59:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 13.24:1 | AAA | AAA |
| Black | 1.59:1 | Fail | Fail |
Tints and shades
Lighter tints move #1A237E toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #1A237E; |
|---|---|
| CSS rgb() | color: rgb(26 35 126); |
| Tailwind | bg-[#1a237e] |
| SwiftUI | Color(red: 0.102, green: 0.137, blue: 0.494) |
| Android | Color.parseColor("#1A237E") |
Closest named color
The nearest CSS colour keyword to #1A237E is midnightblue (#191970).