#1A2B7F#1A2B7F
#1A2B7F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.143 H 268.4°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2B7F |
|---|---|
| RGB | rgb(26, 43, 127) |
| HSL | hsl(230, 66%, 30%) |
| HSV | hsv(230, 80%, 50%) |
| CMYK | cmyk(79.5%, 66.1%, 0%, 50.2%) |
| CIE-LAB | lab(21.87, 25.60, -49.29) |
| CIE-LCH | lch(21.87, 55.54, 297.44°) |
| OKLab | oklab(33.65% -0.004 -0.1426) |
| OKLCH | oklch(33.65% 0.143 268.4) |
| XYZ | xyz(5.1193, 3.4791, 20.4763) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.38
Royal
#0C1793
ΔE00 6.50
Marine
#042E60
ΔE00 6.87
Sapphire (survey)
#2138AB
ΔE00 7.01
Darkslateblue
#483D8B
ΔE00 7.74
Blueberry
#464196
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2B7F #7F6E1A
analogous
#1A5D7F #1A2B7F #3C1A7F
triadic
#1A2B7F #7F1A2B #2B7F1A
tetradic
#1A2B7F #7F1A5D #7F6E1A #1A7F3C
square
#1A2B7F #7F1A5D #7F6E1A #1A7F3C
split-complementary
#1A2B7F #7F3C1A #5D7F1A
monochromatic
#050919 #101A4C #1A2B7F #243CB2 #3C56D7
Accessibility & contrast
On white
12.38
#1A2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#1A2B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2B7F
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2B7F | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1a2b7f; /* rgb */ color: rgb(26, 43, 127); /* oklch */ color: oklch(33.6% 0.143 268.4);
Tailwind
colors: {
custom: {
50: '#6864a5',
500: '#1a2b7f',
950: '#000000',
},
}SCSS
$custom: #1a2b7f; $custom-light: #6864a5; $custom-dark: #000000;
JSON
{
"hex": "#1a2b7f",
"rgb": {
"r": 26,
"g": 43,
"b": 127
},
"hsl": {
"h": 229.901,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.33649,
"c": 0.14265,
"h": 268.4
},
"luminance": 0.0348
}Semantic roles & 50–950 ramp
primary
#1A2B7F
secondary
#B3A042
accent
#CC3FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F