#1F3166#1F3166
#1F3166 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.096 H 267.0°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3166 |
|---|---|
| RGB | rgb(31, 49, 102) |
| HSL | hsl(225, 53%, 26%) |
| HSV | hsv(225, 70%, 40%) |
| CMYK | cmyk(69.6%, 52%, 0%, 60%) |
| CIE-LAB | lab(21.75, 12.07, -33.44) |
| CIE-LCH | lch(21.75, 35.55, 289.85°) |
| OKLab | oklab(32.98% -0.0051 -0.0958) |
| OKLCH | oklch(32.98% 0.096 267) |
| XYZ | xyz(4.0608, 3.4469, 13.0191) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.38
Marine Blue
#01386A
ΔE00 5.42
Navy Blue
#1B2A4A
ΔE00 5.45
Darkish Blue
#014182
ΔE00 7.55
Twilight Blue
#0A437A
ΔE00 7.93
Midnight Blue
#191970
ΔE00 8.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3166 #66541F
analogous
#1F5466 #1F3166 #301F66
triadic
#1F3166 #661F31 #31661F
tetradic
#1F3166 #661F54 #66541F #1F6630
square
#1F3166 #661F54 #66541F #1F6630
split-complementary
#1F3166 #66301F #54661F
monochromatic
#070B17 #111A37 #1F3166 #2D4895 #3C5EC4
Accessibility & contrast
On white
12.43
#1F3166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1F3166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3166
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3166 | 1.00 | 12.43 | 1.69 | 12.43 |
| #FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#143868
Deuteranopia (green-blind)
#043165
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1f3166; /* rgb */ color: rgb(31, 49, 102); /* oklch */ color: oklch(33.0% 0.096 267.0);
Tailwind
colors: {
custom: {
50: '#646892',
500: '#1f3166',
950: '#000000',
},
}SCSS
$custom: #1f3166; $custom-light: #646892; $custom-dark: #000000;
JSON
{
"hex": "#1f3166",
"rgb": {
"r": 31,
"g": 49,
"b": 102
},
"hsl": {
"h": 224.789,
"s": 53.383,
"l": 26.078
},
"oklch": {
"l": 0.32978,
"c": 0.09596,
"h": 267
},
"luminance": 0.03447
}Semantic roles & 50–950 ramp
primary
#1F3166
secondary
#9A8546
accent
#B84BDD
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E