#1F336F#1F336F
#1F336F is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.107 H 266.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1F336F |
|---|---|
| RGB | rgb(31, 51, 111) |
| HSL | hsl(225, 56%, 28%) |
| HSV | hsv(225, 72%, 44%) |
| CMYK | cmyk(72.1%, 54.1%, 0%, 56.5%) |
| CIE-LAB | lab(23.02, 14.25, -37.21) |
| CIE-LCH | lch(23.02, 39.85, 290.95°) |
| OKLab | oklab(34.15% -0.006 -0.1069) |
| OKLCH | oklch(34.15% 0.107 266.8) |
| XYZ | xyz(4.6171, 3.8062, 15.5272) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.89
Marine Blue
#01386A
ΔE00 5.15
Darkish Blue
#014182
ΔE00 6.59
Navy Blue
#1B2A4A
ΔE00 6.88
Twilight Blue
#0A437A
ΔE00 7.19
Cobalt (survey)
#1E488F
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F336F #6F5B1F
analogous
#1F5B6F #1F336F #331F6F
triadic
#1F336F #6F1F33 #336F1F
tetradic
#1F336F #6F1F5B #6F5B1F #1F6F33
square
#1F336F #6F1F5B #6F5B1F #1F6F33
split-complementary
#1F336F #6F331F #5B6F1F
monochromatic
#070B18 #121D3F #1F336F #2C499F #3F62C9
Accessibility & contrast
On white
11.92
#1F336F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1F336F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F336F
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F336F | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E3B71
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1f336f; /* rgb */ color: rgb(31, 51, 111); /* oklch */ color: oklch(34.2% 0.107 266.8);
Tailwind
colors: {
custom: {
50: '#666a99',
500: '#1f336f',
950: '#000000',
},
}SCSS
$custom: #1f336f; $custom-light: #666a99; $custom-dark: #000000;
JSON
{
"hex": "#1f336f",
"rgb": {
"r": 31,
"g": 51,
"b": 111
},
"hsl": {
"h": 225,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.34154,
"c": 0.10706,
"h": 266.8
},
"luminance": 0.03807
}Semantic roles & 50–950 ramp
primary
#1F336F
secondary
#A38C47
accent
#BA48E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E