#1A238F#1A238F
#1A238F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.173 H 269.5°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1A238F |
|---|---|
| RGB | rgb(26, 35, 143) |
| HSL | hsl(235, 69%, 33%) |
| HSV | hsv(235, 82%, 56%) |
| CMYK | cmyk(81.8%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(21.59, 36.85, -59.77) |
| CIE-LCH | lch(21.59, 70.22, 301.66°) |
| OKLab | oklab(33.95% -0.0015 -0.1732) |
| OKLCH | oklch(33.95% 0.173 269.5) |
| XYZ | xyz(5.9833, 3.4042, 26.3230) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.84
Midnight Blue
#191970
ΔE00 5.07
Cobalt Blue
#030AA7
ΔE00 5.41
Royal Blue (survey)
#0504AA
ΔE00 6.03
Darkblue
#00008B
ΔE00 6.37
Indigo Blue
#3A18B1
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A238F #8F861A
analogous
#1A5D8F #1A238F #4C1A8F
triadic
#1A238F #8F1A23 #238F1A
tetradic
#1A238F #8F1A5D #8F861A #1A8F4C
square
#1A238F #8F1A5D #8F861A #1A8F4C
split-complementary
#1A238F #8F4C1A #5D8F1A
monochromatic
#070A27 #11165B #1A238F #2330C3 #4652DD
Accessibility & contrast
On white
12.49
#1A238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1A238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A238F
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A238F | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1a238f; /* rgb */ color: rgb(26, 35, 143); /* oklch */ color: oklch(33.9% 0.173 269.5);
Tailwind
colors: {
custom: {
50: '#6e5fb1',
500: '#1a238f',
950: '#000000',
},
}SCSS
$custom: #1a238f; $custom-light: #6e5fb1; $custom-dark: #000000;
JSON
{
"hex": "#1a238f",
"rgb": {
"r": 26,
"g": 35,
"b": 143
},
"hsl": {
"h": 235.385,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.33947,
"c": 0.17317,
"h": 269.5
},
"luminance": 0.03405
}Semantic roles & 50–950 ramp
primary
#1A238F
secondary
#BFB546
accent
#DE3CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980