#1F266D#1F266D
#1F266D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.122 H 272.8°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1F266D |
|---|---|
| RGB | rgb(31, 38, 109) |
| HSL | hsl(235, 56%, 27%) |
| HSV | hsv(235, 72%, 43%) |
| CMYK | cmyk(71.6%, 65.1%, 0%, 57.3%) |
| CIE-LAB | lab(19.15, 22.68, -42.21) |
| CIE-LCH | lch(19.15, 47.92, 298.25°) |
| OKLab | oklab(31.2% 0.0059 -0.1218) |
| OKLCH | oklch(31.2% 0.122 272.8) |
| XYZ | xyz(4.0176, 2.7813, 14.7901) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.13
Marine
#042E60
ΔE00 6.63
Royal
#0C1793
ΔE00 7.78
Navy Blue (survey)
#001146
ΔE00 7.94
Darkblue (survey)
#030764
ΔE00 8.00
Navy Blue
#1B2A4A
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F266D #6D661F
analogous
#1F4D6D #1F266D #3F1F6D
triadic
#1F266D #6D1F26 #266D1F
tetradic
#1F266D #6D1F4D #6D661F #1F6D3F
square
#1F266D #6D1F4D #6D661F #1F6D3F
split-complementary
#1F266D #6D3F1F #4D6D1F
monochromatic
#070818 #11153D #1F266D #2D379D #3E4BC8
Accessibility & contrast
On white
13.49
#1F266D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1F266D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F266D
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F266D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F266D | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1f266d; /* rgb */ color: rgb(31, 38, 109); /* oklch */ color: oklch(31.2% 0.122 272.8);
Tailwind
colors: {
custom: {
50: '#666098',
500: '#1f266d',
950: '#000000',
},
}SCSS
$custom: #1f266d; $custom-light: #666098; $custom-dark: #000000;
JSON
{
"hex": "#1f266d",
"rgb": {
"r": 31,
"g": 38,
"b": 109
},
"hsl": {
"h": 234.615,
"s": 55.714,
"l": 27.451
},
"oklch": {
"l": 0.31204,
"c": 0.12191,
"h": 272.8
},
"luminance": 0.02782
}Semantic roles & 50–950 ramp
primary
#1F266D
secondary
#A19947
accent
#D249DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E