#1A225E#1A225E
#1A225E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.106 H 272.0°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1A225E |
|---|---|
| RGB | rgb(26, 34, 94) |
| HSL | hsl(233, 57%, 24%) |
| HSV | hsv(233, 72%, 37%) |
| CMYK | cmyk(72.3%, 63.8%, 0%, 63.1%) |
| CIE-LAB | lab(16.36, 18.83, -36.92) |
| CIE-LCH | lch(16.36, 41.44, 297.02°) |
| OKLab | oklab(28.64% 0.0038 -0.1064) |
| OKLCH | oklch(28.64% 0.106 272) |
| XYZ | xyz(3.0177, 2.1715, 10.8476) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.21
Navy Blue (survey)
#001146
ΔE00 5.65
Marine
#042E60
ΔE00 6.38
Navy (survey)
#01153E
ΔE00 6.45
Navy Blue
#1B2A4A
ΔE00 6.62
Dark Indigo
#1F0954
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A225E #5E561A
analogous
#1A445E #1A225E #341A5E
triadic
#1A225E #5E1A22 #225E1A
tetradic
#1A225E #5E1A44 #5E561A #1A5E34
square
#1A225E #5E1A44 #5E561A #1A5E34
split-complementary
#1A225E #5E341A #445E1A
monochromatic
#070918 #0D112E #1A225E #27338E #3545BE
Accessibility & contrast
On white
14.64
#1A225E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1A225E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A225E
14.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A225E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A225E | 1.00 | 14.64 | 1.43 | 14.64 |
| #FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1a225e; /* rgb */ color: rgb(26, 34, 94); /* oklch */ color: oklch(28.6% 0.106 272.0);
Tailwind
colors: {
custom: {
50: '#605c8c',
500: '#1a225e',
950: '#000000',
},
}SCSS
$custom: #1a225e; $custom-light: #605c8c; $custom-dark: #000000;
JSON
{
"hex": "#1a225e",
"rgb": {
"r": 26,
"g": 34,
"b": 94
},
"hsl": {
"h": 232.941,
"s": 56.667,
"l": 23.529
},
"oklch": {
"l": 0.28639,
"c": 0.10646,
"h": 272
},
"luminance": 0.02172
}Semantic roles & 50–950 ramp
primary
#1A225E
secondary
#948A40
accent
#CE48E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D