#1A2F7F#1A2F7F
#1A2F7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.138 H 267.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2F7F |
|---|---|
| RGB | rgb(26, 47, 127) |
| HSL | hsl(228, 66%, 30%) |
| HSV | hsv(228, 80%, 50%) |
| CMYK | cmyk(79.5%, 63%, 0%, 50.2%) |
| CIE-LAB | lab(22.95, 22.82, -47.53) |
| CIE-LCH | lch(22.95, 52.72, 295.64°) |
| OKLab | oklab(34.45% -0.0066 -0.1374) |
| OKLCH | oklch(34.45% 0.138 267.2) |
| XYZ | xyz(5.2719, 3.7844, 20.5272) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.10
Midnight Blue
#191970
ΔE00 6.67
Sapphire (survey)
#2138AB
ΔE00 6.74
Marine Blue
#01386A
ΔE00 7.05
Darkslateblue
#483D8B
ΔE00 7.46
Darkish Blue
#014182
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2F7F #7F6A1A
analogous
#1A617F #1A2F7F #381A7F
triadic
#1A2F7F #7F1A2F #2F7F1A
tetradic
#1A2F7F #7F1A61 #7F6A1A #1A7F38
square
#1A2F7F #7F1A61 #7F6A1A #1A7F38
split-complementary
#1A2F7F #7F381A #617F1A
monochromatic
#050919 #101C4C #1A2F7F #2442B2 #3C5CD7
Accessibility & contrast
On white
11.95
#1A2F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1A2F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2F7F
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2F7F | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1a2f7f; /* rgb */ color: rgb(26, 47, 127); /* oklch */ color: oklch(34.4% 0.138 267.2);
Tailwind
colors: {
custom: {
50: '#6867a5',
500: '#1a2f7f',
950: '#000000',
},
}SCSS
$custom: #1a2f7f; $custom-light: #6867a5; $custom-dark: #000000;
JSON
{
"hex": "#1a2f7f",
"rgb": {
"r": 26,
"g": 47,
"b": 127
},
"hsl": {
"h": 227.525,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.34445,
"c": 0.13754,
"h": 267.2
},
"luminance": 0.03785
}Semantic roles & 50–950 ramp
primary
#1A2F7F
secondary
#B39B42
accent
#C63FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F