#1A227B#1A227B
#1A227B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.148 H 270.6°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1A227B |
|---|---|
| RGB | rgb(26, 34, 123) |
| HSL | hsl(235, 65%, 29%) |
| HSV | hsv(235, 79%, 48%) |
| CMYK | cmyk(78.9%, 72.4%, 0%, 51.8%) |
| CIE-LAB | lab(19.20, 30.13, -51.14) |
| CIE-LCH | lch(19.20, 59.36, 300.51°) |
| OKLab | oklab(31.58% 0.0017 -0.148) |
| OKLCH | oklch(31.58% 0.148 270.6) |
| XYZ | xyz(4.5720, 2.7932, 19.0332) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.75
Royal
#0C1793
ΔE00 4.76
Dark Royal Blue
#02066F
ΔE00 6.43
Darkblue (survey)
#030764
ΔE00 6.87
Deep Blue
#040273
ΔE00 6.97
Navy
#000080
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A227B #7B731A
analogous
#1A537B #1A227B #431A7B
triadic
#1A227B #7B1A22 #227B1A
tetradic
#1A227B #7B1A53 #7B731A #1A7B43
square
#1A227B #7B1A53 #7B731A #1A7B43
split-complementary
#1A227B #7B431A #537B1A
monochromatic
#050719 #0F1448 #1A227B #2530AE #3A47D5
Accessibility & contrast
On white
13.47
#1A227B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1A227B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A227B
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A227B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A227B | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1a227b; /* rgb */ color: rgb(26, 34, 123); /* oklch */ color: oklch(31.6% 0.148 270.6);
Tailwind
colors: {
custom: {
50: '#685da2',
500: '#1a227b',
950: '#000000',
},
}SCSS
$custom: #1a227b; $custom-light: #685da2; $custom-dark: #000000;
JSON
{
"hex": "#1a227b",
"rgb": {
"r": 26,
"g": 34,
"b": 123
},
"hsl": {
"h": 235.052,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.31579,
"c": 0.14805,
"h": 270.6
},
"luminance": 0.02794
}Semantic roles & 50–950 ramp
primary
#1A227B
secondary
#AFA642
accent
#DA40E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F