#1F4296#1F4296
#1F4296 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.144 H 264.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4296 |
|---|---|
| RGB | rgb(31, 66, 150) |
| HSL | hsl(222, 66%, 35%) |
| HSV | hsv(222, 79%, 59%) |
| CMYK | cmyk(79.3%, 56%, 0%, 41.2%) |
| CIE-LAB | lab(30.37, 19.39, -49.69) |
| CIE-LCH | lch(30.37, 53.34, 291.31°) |
| OKLab | oklab(40.67% -0.0151 -0.1433) |
| OKLCH | oklch(40.67% 0.144 264) |
| XYZ | xyz(8.0164, 6.3888, 29.6589) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.80
Cobalt
#0047AB
ΔE00 3.31
Darkish Blue
#014182
ΔE00 4.37
Sapphire (survey)
#2138AB
ΔE00 5.22
Twilight Blue
#0A437A
ΔE00 5.44
Blueberry
#464196
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4296 #96731F
analogous
#1F7D96 #1F4296 #371F96
triadic
#1F4296 #961F42 #42961F
tetradic
#1F4296 #961F7D #96731F #1F9637
square
#1F4296 #961F7D #96731F #1F9637
split-complementary
#1F4296 #96371F #7D961F
monochromatic
#0A1531 #152C63 #1F4296 #2958C9 #547CDC
Accessibility & contrast
On white
9.22
#1F4296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#1F4296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4296
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4296 | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f4296; /* rgb */ color: rgb(31, 66, 150); /* oklch */ color: oklch(40.7% 0.144 264.0);
Tailwind
colors: {
custom: {
50: '#6e75b6',
500: '#1f4296',
950: '#000000',
},
}SCSS
$custom: #1f4296; $custom-light: #6e75b6; $custom-dark: #000000;
JSON
{
"hex": "#1f4296",
"rgb": {
"r": 31,
"g": 66,
"b": 150
},
"hsl": {
"h": 222.353,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.40669,
"c": 0.14413,
"h": 264
},
"luminance": 0.0639
}Semantic roles & 50–950 ramp
primary
#1F4296
secondary
#BF9F52
accent
#B73FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80