#1F266F#1F266F
#1F266F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.125 H 272.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1F266F |
|---|---|
| RGB | rgb(31, 38, 111) |
| HSL | hsl(235, 56%, 28%) |
| HSV | hsv(235, 72%, 44%) |
| CMYK | cmyk(72.1%, 65.8%, 0%, 56.5%) |
| CIE-LAB | lab(19.33, 23.46, -43.21) |
| CIE-LCH | lch(19.33, 49.17, 298.49°) |
| OKLab | oklab(31.4% 0.0058 -0.1247) |
| OKLCH | oklch(31.4% 0.125 272.7) |
| XYZ | xyz(4.1265, 2.8248, 15.3636) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.96
Marine
#042E60
ΔE00 6.79
Royal
#0C1793
ΔE00 7.44
Darkblue (survey)
#030764
ΔE00 7.93
Dark Royal Blue
#02066F
ΔE00 8.05
Navy Blue (survey)
#001146
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F266F #6F681F
analogous
#1F4E6F #1F266F #401F6F
triadic
#1F266F #6F1F26 #266F1F
tetradic
#1F266F #6F1F4E #6F681F #1F6F40
square
#1F266F #6F1F4E #6F681F #1F6F40
split-complementary
#1F266F #6F401F #4E6F1F
monochromatic
#070818 #12163F #1F266F #2C369F #3F4BC9
Accessibility & contrast
On white
13.42
#1F266F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1F266F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F266F
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F266F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F266F | 1.00 | 13.42 | 1.57 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1f266f; /* rgb */ color: rgb(31, 38, 111); /* oklch */ color: oklch(31.4% 0.125 272.7);
Tailwind
colors: {
custom: {
50: '#676099',
500: '#1f266f',
950: '#000000',
},
}SCSS
$custom: #1f266f; $custom-light: #676099; $custom-dark: #000000;
JSON
{
"hex": "#1f266f",
"rgb": {
"r": 31,
"g": 38,
"b": 111
},
"hsl": {
"h": 234.75,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.31395,
"c": 0.12482,
"h": 272.7
},
"luminance": 0.02825
}Semantic roles & 50–950 ramp
primary
#1F266F
secondary
#A39B47
accent
#D248E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E