#1A2B7D#1A2B7D
#1A2B7D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.140 H 268.4°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2B7D |
|---|---|
| RGB | rgb(26, 43, 125) |
| HSL | hsl(230, 66%, 30%) |
| HSV | hsv(230, 79%, 49%) |
| CMYK | cmyk(79.2%, 65.6%, 0%, 51%) |
| CIE-LAB | lab(21.68, 24.81, -48.34) |
| CIE-LCH | lch(21.68, 54.33, 297.17°) |
| OKLab | oklab(33.45% -0.0039 -0.1398) |
| OKLCH | oklch(33.45% 0.14 268.4) |
| XYZ | xyz(4.9903, 3.4275, 19.7966) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.36
Marine
#042E60
ΔE00 6.61
Royal
#0C1793
ΔE00 6.75
Sapphire (survey)
#2138AB
ΔE00 7.28
Darkslateblue
#483D8B
ΔE00 7.81
Marine Blue
#01386A
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2B7D #7D6C1A
analogous
#1A5D7D #1A2B7D #3B1A7D
triadic
#1A2B7D #7D1A2B #2B7D1A
tetradic
#1A2B7D #7D1A5D #7D6C1A #1A7D3B
square
#1A2B7D #7D1A5D #7D6C1A #1A7D3B
split-complementary
#1A2B7D #7D3B1A #5D7D1A
monochromatic
#050919 #0F1A4A #1A2B7D #253CB0 #3B56D6
Accessibility & contrast
On white
12.46
#1A2B7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1A2B7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2B7D
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2B7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2B7D | 1.00 | 12.46 | 1.69 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1a2b7d; /* rgb */ color: rgb(26, 43, 125); /* oklch */ color: oklch(33.5% 0.140 268.4);
Tailwind
colors: {
custom: {
50: '#6864a3',
500: '#1a2b7d',
950: '#000000',
},
}SCSS
$custom: #1a2b7d; $custom-light: #6864a3; $custom-dark: #000000;
JSON
{
"hex": "#1a2b7d",
"rgb": {
"r": 26,
"g": 43,
"b": 125
},
"hsl": {
"h": 229.697,
"s": 65.563,
"l": 29.608
},
"oklch": {
"l": 0.33452,
"c": 0.13984,
"h": 268.4
},
"luminance": 0.03428
}Semantic roles & 50–950 ramp
primary
#1A2B7D
secondary
#B19E42
accent
#CB3FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F