#1A2F5C#1A2F5C
#1A2F5C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.085 H 263.5°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2F5C |
|---|---|
| RGB | rgb(26, 47, 92) |
| HSL | hsl(221, 56%, 23%) |
| HSV | hsv(221, 72%, 36%) |
| CMYK | cmyk(71.7%, 48.9%, 0%, 63.9%) |
| CIE-LAB | lab(20.14, 8.53, -29.48) |
| CIE-LCH | lch(20.14, 30.69, 286.13°) |
| OKLab | oklab(31.45% -0.0096 -0.0843) |
| OKLCH | oklch(31.45% 0.085 263.5) |
| XYZ | xyz(3.3736, 3.0250, 10.5292) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.60
Navy Blue
#1B2A4A
ΔE00 3.74
Marine Blue
#01386A
ΔE00 5.22
Darkish Blue
#014182
ΔE00 8.15
Twilight Blue
#0A437A
ΔE00 8.25
Navy (survey)
#01153E
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2F5C #5C471A
analogous
#1A505C #1A2F5C #261A5C
triadic
#1A2F5C #5C1A2F #2F5C1A
tetradic
#1A2F5C #5C1A50 #5C471A #1A5C26
square
#1A2F5C #5C1A50 #5C471A #1A5C26
split-complementary
#1A2F5C #5C261A #505C1A
monochromatic
#070C18 #0D172C #1A2F5C #27478C #3560BB
Accessibility & contrast
On white
13.08
#1A2F5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1A2F5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2F5C
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2F5C | 1.00 | 13.08 | 1.61 | 13.08 |
| #FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19345E
Deuteranopia (green-blind)
#0D2E5B
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1a2f5c; /* rgb */ color: rgb(26, 47, 92); /* oklch */ color: oklch(31.4% 0.085 263.5);
Tailwind
colors: {
custom: {
50: '#5f678a',
500: '#1a2f5c',
950: '#000000',
},
}SCSS
$custom: #1a2f5c; $custom-light: #5f678a; $custom-dark: #000000;
JSON
{
"hex": "#1a2f5c",
"rgb": {
"r": 26,
"g": 47,
"b": 92
},
"hsl": {
"h": 220.909,
"s": 55.932,
"l": 23.137
},
"oklch": {
"l": 0.31446,
"c": 0.08487,
"h": 263.5
},
"luminance": 0.03025
}Semantic roles & 50–950 ramp
primary
#1A2F5C
secondary
#927840
accent
#AF49DF
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D