#1A2F9F#1A2F9F
#1A2F9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.181 H 267.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2F9F |
|---|---|
| RGB | rgb(26, 47, 159) |
| HSL | hsl(231, 72%, 36%) |
| HSV | hsv(231, 84%, 62%) |
| CMYK | cmyk(83.6%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(26.02, 35.19, -62.30) |
| CIE-LCH | lch(26.02, 71.55, 299.46°) |
| OKLab | oklab(37.64% -0.0081 -0.1805) |
| OKLCH | oklch(37.64% 0.181 267.4) |
| XYZ | xyz(7.6983, 4.7549, 33.3062) |
| Luminance | 0.0476 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.90
Royal
#0C1793
ΔE00 5.97
Indigo Blue
#3A18B1
ΔE00 6.74
Blueberry
#464196
ΔE00 6.96
Blue Blue
#2242C7
ΔE00 7.35
Cobalt Blue
#030AA7
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2F9F #9F8A1A
analogous
#1A729F #1A2F9F #481A9F
triadic
#1A2F9F #9F1A2F #2F9F1A
tetradic
#1A2F9F #9F1A72 #9F8A1A #1A9F48
square
#1A2F9F #9F1A72 #9F8A1A #1A9F48
split-complementary
#1A2F9F #9F481A #729F1A
monochromatic
#091036 #111F6A #1A2F9F #233FD4 #5168E3
Accessibility & contrast
On white
10.76
#1A2F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1A2F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2F9F
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2F9F | 1.00 | 10.76 | 1.95 | 10.76 |
| #FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1a2f9f; /* rgb */ color: rgb(26, 47, 159); /* oklch */ color: oklch(37.6% 0.181 267.4);
Tailwind
colors: {
custom: {
50: '#7168bd',
500: '#1a2f9f',
950: '#000000',
},
}SCSS
$custom: #1a2f9f; $custom-light: #7168bd; $custom-dark: #000000;
JSON
{
"hex": "#1a2f9f",
"rgb": {
"r": 26,
"g": 47,
"b": 159
},
"hsl": {
"h": 230.526,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.37642,
"c": 0.18073,
"h": 267.4
},
"luminance": 0.04756
}Semantic roles & 50–950 ramp
primary
#1A2F9F
secondary
#C5B350
accent
#D239EF
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81