#1A2F8D#1A2F8D
#1A2F8D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.157 H 267.5°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2F8D |
|---|---|
| RGB | rgb(26, 47, 141) |
| HSL | hsl(229, 69%, 33%) |
| HSV | hsv(229, 82%, 55%) |
| CMYK | cmyk(81.6%, 66.7%, 0%, 44.7%) |
| CIE-LAB | lab(24.24, 28.34, -54.17) |
| CIE-LCH | lch(24.24, 61.14, 297.62°) |
| OKLab | oklab(35.8% -0.0069 -0.1568) |
| OKLCH | oklch(35.8% 0.157 267.5) |
| XYZ | xyz(6.2486, 4.1750, 25.6707) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.78
Royal
#0C1793
ΔE00 6.43
Blueberry
#464196
ΔE00 7.02
Midnight Blue
#191970
ΔE00 7.04
Darkslateblue
#483D8B
ΔE00 7.17
Marine
#042E60
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2F8D #8D781A
analogous
#1A698D #1A2F8D #3E1A8D
triadic
#1A2F8D #8D1A2F #2F8D1A
tetradic
#1A2F8D #8D1A69 #8D781A #1A8D3E
square
#1A2F8D #8D1A69 #8D781A #1A8D3E
split-complementary
#1A2F8D #8D3E1A #698D1A
monochromatic
#070D26 #101E59 #1A2F8D #2440C1 #4560DD
Accessibility & contrast
On white
11.44
#1A2F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1A2F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2F8D
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2F8D | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1a2f8d; /* rgb */ color: rgb(26, 47, 141); /* oklch */ color: oklch(35.8% 0.157 267.5);
Tailwind
colors: {
custom: {
50: '#6c67af',
500: '#1a2f8d',
950: '#000000',
},
}SCSS
$custom: #1a2f8d; $custom-light: #6c67af; $custom-dark: #000000;
JSON
{
"hex": "#1a2f8d",
"rgb": {
"r": 26,
"g": 47,
"b": 141
},
"hsl": {
"h": 229.043,
"s": 68.862,
"l": 32.745
},
"oklch": {
"l": 0.35801,
"c": 0.15698,
"h": 267.5
},
"luminance": 0.04176
}Semantic roles & 50–950 ramp
primary
#1A2F8D
secondary
#BEA845
accent
#CC3CEC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F