#1A2F8F#1A2F8F
#1A2F8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.160 H 267.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2F8F |
|---|---|
| RGB | rgb(26, 47, 143) |
| HSL | hsl(229, 69%, 33%) |
| HSV | hsv(229, 82%, 56%) |
| CMYK | cmyk(81.8%, 67.1%, 0%, 43.9%) |
| CIE-LAB | lab(24.43, 29.12, -55.10) |
| CIE-LCH | lch(24.43, 62.32, 297.86°) |
| OKLab | oklab(36% -0.007 -0.1595) |
| OKLCH | oklch(36% 0.16 267.5) |
| XYZ | xyz(6.3987, 4.2351, 26.4615) |
| Luminance | 0.0424 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.53
Royal
#0C1793
ΔE00 6.30
Blueberry
#464196
ΔE00 6.97
Midnight Blue
#191970
ΔE00 7.16
Darkslateblue
#483D8B
ΔE00 7.18
Marine
#042E60
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2F8F #8F7A1A
analogous
#1A698F #1A2F8F #3F1A8F
triadic
#1A2F8F #8F1A2F #2F8F1A
tetradic
#1A2F8F #8F1A69 #8F7A1A #1A8F3F
square
#1A2F8F #8F1A69 #8F7A1A #1A8F3F
split-complementary
#1A2F8F #8F3F1A #698F1A
monochromatic
#070D27 #111E5B #1A2F8F #2340C3 #4661DD
Accessibility & contrast
On white
11.37
#1A2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#1A2F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2F8F
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2F8F | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1a2f8f; /* rgb */ color: rgb(26, 47, 143); /* oklch */ color: oklch(36.0% 0.160 267.5);
Tailwind
colors: {
custom: {
50: '#6c67b1',
500: '#1a2f8f',
950: '#000000',
},
}SCSS
$custom: #1a2f8f; $custom-light: #6c67b1; $custom-dark: #000000;
JSON
{
"hex": "#1a2f8f",
"rgb": {
"r": 26,
"g": 47,
"b": 143
},
"hsl": {
"h": 229.231,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.36001,
"c": 0.15968,
"h": 267.5
},
"luminance": 0.04236
}Semantic roles & 50–950 ramp
primary
#1A2F8F
secondary
#BFA946
accent
#CC3CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80