#1A227A#1A227A
#1A227A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.147 H 270.7°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1A227A |
|---|---|
| RGB | rgb(26, 34, 122) |
| HSL | hsl(235, 65%, 29%) |
| HSV | hsv(235, 79%, 48%) |
| CMYK | cmyk(78.7%, 72.1%, 0%, 52.2%) |
| CIE-LAB | lab(19.09, 29.76, -50.68) |
| CIE-LCH | lch(19.09, 58.77, 300.42°) |
| OKLab | oklab(31.47% 0.0018 -0.1467) |
| OKLCH | oklch(31.47% 0.147 270.7) |
| XYZ | xyz(4.5097, 2.7683, 18.7052) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.69
Royal
#0C1793
ΔE00 4.91
Dark Royal Blue
#02066F
ΔE00 6.44
Darkblue (survey)
#030764
ΔE00 6.83
Deep Blue
#040273
ΔE00 6.99
Navy
#000080
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A227A #7A721A
analogous
#1A527A #1A227A #421A7A
triadic
#1A227A #7A1A22 #227A1A
tetradic
#1A227A #7A1A52 #7A721A #1A7A42
square
#1A227A #7A1A52 #7A721A #1A7A42
split-complementary
#1A227A #7A421A #527A1A
monochromatic
#050719 #0F1448 #1A227A #2530AC #3946D5
Accessibility & contrast
On white
13.52
#1A227A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1A227A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A227A
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A227A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A227A | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1a227a; /* rgb */ color: rgb(26, 34, 122); /* oklch */ color: oklch(31.5% 0.147 270.7);
Tailwind
colors: {
custom: {
50: '#685da1',
500: '#1a227a',
950: '#000000',
},
}SCSS
$custom: #1a227a; $custom-light: #685da1; $custom-dark: #000000;
JSON
{
"hex": "#1a227a",
"rgb": {
"r": 26,
"g": 34,
"b": 122
},
"hsl": {
"h": 235,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.31472,
"c": 0.1467,
"h": 270.7
},
"luminance": 0.02769
}Semantic roles & 50–950 ramp
primary
#1A227A
secondary
#AEA541
accent
#DA40E8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F