#1A2F79#1A2F79
#1A2F79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.129 H 267.0°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2F79 |
|---|---|
| RGB | rgb(26, 47, 121) |
| HSL | hsl(227, 65%, 29%) |
| HSV | hsv(227, 79%, 47%) |
| CMYK | cmyk(78.5%, 61.2%, 0%, 52.5%) |
| CIE-LAB | lab(22.42, 20.40, -44.59) |
| CIE-LCH | lch(22.42, 49.04, 294.58°) |
| OKLab | oklab(33.89% -0.0067 -0.1288) |
| OKLCH | oklch(33.89% 0.129 267) |
| XYZ | xyz(4.8925, 3.6326, 18.5288) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.24
Marine Blue
#01386A
ΔE00 6.50
Midnight Blue
#191970
ΔE00 6.81
Darkish Blue
#014182
ΔE00 7.44
Sapphire (survey)
#2138AB
ΔE00 7.65
Darkslateblue
#483D8B
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2F79 #79641A
analogous
#1A5F79 #1A2F79 #351A79
triadic
#1A2F79 #791A2F #2F791A
tetradic
#1A2F79 #791A5F #79641A #1A7935
square
#1A2F79 #791A5F #79641A #1A7935
split-complementary
#1A2F79 #79351A #5F791A
monochromatic
#050A19 #0F1B47 #1A2F79 #2543AB #395BD4
Accessibility & contrast
On white
12.16
#1A2F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#1A2F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2F79
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2F79 | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1a2f79; /* rgb */ color: rgb(26, 47, 121); /* oklch */ color: oklch(33.9% 0.129 267.0);
Tailwind
colors: {
custom: {
50: '#6667a0',
500: '#1a2f79',
950: '#000000',
},
}SCSS
$custom: #1a2f79; $custom-light: #6667a0; $custom-dark: #000000;
JSON
{
"hex": "#1a2f79",
"rgb": {
"r": 26,
"g": 47,
"b": 121
},
"hsl": {
"h": 226.737,
"s": 64.626,
"l": 28.824
},
"oklch": {
"l": 0.33887,
"c": 0.12893,
"h": 267
},
"luminance": 0.03633
}Semantic roles & 50–950 ramp
primary
#1A2F79
secondary
#AD9641
accent
#C340E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E