#1F4290#1F4290
#1F4290 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.136 H 263.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4290 |
|---|---|
| RGB | rgb(31, 66, 144) |
| HSL | hsl(221, 65%, 34%) |
| HSV | hsv(221, 78%, 56%) |
| CMYK | cmyk(78.5%, 54.2%, 0%, 43.5%) |
| CIE-LAB | lab(29.91, 16.99, -46.77) |
| CIE-LCH | lch(29.91, 49.76, 289.97°) |
| OKLab | oklab(40.17% -0.0157 -0.1347) |
| OKLCH | oklch(40.17% 0.136 263.4) |
| XYZ | xyz(7.5455, 6.2005, 27.1793) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.34
Darkish Blue
#014182
ΔE00 3.64
Cobalt
#0047AB
ΔE00 3.90
Twilight Blue
#0A437A
ΔE00 4.71
Sapphire (survey)
#2138AB
ΔE00 6.01
Dusk Blue
#26538D
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4290 #906D1F
analogous
#1F7B90 #1F4290 #351F90
triadic
#1F4290 #901F42 #42901F
tetradic
#1F4290 #901F7B #906D1F #1F9035
square
#1F4290 #901F7B #906D1F #1F9035
split-complementary
#1F4290 #90351F #7B901F
monochromatic
#09142B #142B5E #1F4290 #2A59C2 #507BD9
Accessibility & contrast
On white
9.37
#1F4290 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#1F4290 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4290
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4290 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4290 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#084C93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f4290; /* rgb */ color: rgb(31, 66, 144); /* oklch */ color: oklch(40.2% 0.136 263.4);
Tailwind
colors: {
custom: {
50: '#6d75b1',
500: '#1f4290',
950: '#000000',
},
}SCSS
$custom: #1f4290; $custom-light: #6d75b1; $custom-dark: #000000;
JSON
{
"hex": "#1f4290",
"rgb": {
"r": 31,
"g": 66,
"b": 144
},
"hsl": {
"h": 221.416,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.40175,
"c": 0.13564,
"h": 263.4
},
"luminance": 0.06201
}Semantic roles & 50–950 ramp
primary
#1F4290
secondary
#BC9A4E
accent
#B440E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80