#1A238B#1A238B
#1A238B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.168 H 269.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1A238B |
|---|---|
| RGB | rgb(26, 35, 139) |
| HSL | hsl(235, 68%, 32%) |
| HSV | hsv(235, 81%, 55%) |
| CMYK | cmyk(81.3%, 74.8%, 0%, 45.5%) |
| CIE-LAB | lab(21.15, 35.41, -58.01) |
| CIE-LCH | lch(21.15, 67.97, 301.40°) |
| OKLab | oklab(33.5% -0.001 -0.168) |
| OKLCH | oklch(33.5% 0.168 269.7) |
| XYZ | xyz(5.6856, 3.2851, 24.7555) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.10
Midnight Blue
#191970
ΔE00 4.56
Cobalt Blue
#030AA7
ΔE00 5.85
Darkblue
#00008B
ΔE00 6.44
Royal Blue (survey)
#0504AA
ΔE00 6.47
Navy
#000080
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A238B #8B821A
analogous
#1A5C8B #1A238B #491A8B
triadic
#1A238B #8B1A23 #238B1A
tetradic
#1A238B #8B1A5C #8B821A #1A8B49
square
#1A238B #8B1A5C #8B821A #1A8B49
split-complementary
#1A238B #8B491A #5C8B1A
monochromatic
#070924 #101657 #1A238B #2430BF #4350DC
Accessibility & contrast
On white
12.67
#1A238B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1A238B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A238B
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A238B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A238B | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#002D89
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1a238b; /* rgb */ color: rgb(26, 35, 139); /* oklch */ color: oklch(33.5% 0.168 269.7);
Tailwind
colors: {
custom: {
50: '#6d5fae',
500: '#1a238b',
950: '#000000',
},
}SCSS
$custom: #1a238b; $custom-light: #6d5fae; $custom-dark: #000000;
JSON
{
"hex": "#1a238b",
"rgb": {
"r": 26,
"g": 35,
"b": 139
},
"hsl": {
"h": 235.221,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.33499,
"c": 0.16805,
"h": 269.7
},
"luminance": 0.03286
}Semantic roles & 50–950 ramp
primary
#1A238B
secondary
#BDB344
accent
#DD3CEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F