#1A228B#1A228B
#1A228B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.169 H 269.8°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1A228B |
|---|---|
| RGB | rgb(26, 34, 139) |
| HSL | hsl(236, 68%, 32%) |
| HSV | hsv(236, 81%, 55%) |
| CMYK | cmyk(81.3%, 75.5%, 0%, 45.5%) |
| CIE-LAB | lab(20.93, 36.03, -58.38) |
| CIE-LCH | lch(20.93, 68.60, 301.68°) |
| OKLab | oklab(33.34% -0.0006 -0.1691) |
| OKLCH | oklch(33.34% 0.169 269.8) |
| XYZ | xyz(5.6566, 3.2271, 24.7459) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.85
Midnight Blue
#191970
ΔE00 4.46
Cobalt Blue
#030AA7
ΔE00 5.64
Darkblue
#00008B
ΔE00 6.18
Royal Blue (survey)
#0504AA
ΔE00 6.26
Navy
#000080
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A228B #8B831A
analogous
#1A5B8B #1A228B #4A1A8B
triadic
#1A228B #8B1A22 #228B1A
tetradic
#1A228B #8B1A5B #8B831A #1A8B4A
square
#1A228B #8B1A5B #8B831A #1A8B4A
split-complementary
#1A228B #8B4A1A #5B8B1A
monochromatic
#070924 #101557 #1A228B #242FBF #434EDC
Accessibility & contrast
On white
12.76
#1A228B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1A228B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A228B
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A228B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A228B | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#002D89
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1a228b; /* rgb */ color: rgb(26, 34, 139); /* oklch */ color: oklch(33.3% 0.169 269.8);
Tailwind
colors: {
custom: {
50: '#6d5eae',
500: '#1a228b',
950: '#000000',
},
}SCSS
$custom: #1a228b; $custom-light: #6d5eae; $custom-dark: #000000;
JSON
{
"hex": "#1a228b",
"rgb": {
"r": 26,
"g": 34,
"b": 139
},
"hsl": {
"h": 235.752,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.33342,
"c": 0.1691,
"h": 269.8
},
"luminance": 0.03228
}Semantic roles & 50–950 ramp
primary
#1A228B
secondary
#BDB444
accent
#DF3CEB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F