#1F3E90#1F3E90
#1F3E90 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.141 H 264.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3E90 |
|---|---|
| RGB | rgb(31, 62, 144) |
| HSL | hsl(224, 65%, 34%) |
| HSV | hsv(224, 78%, 56%) |
| CMYK | cmyk(78.5%, 56.9%, 0%, 43.5%) |
| CIE-LAB | lab(28.77, 19.75, -48.62) |
| CIE-LCH | lch(28.77, 52.48, 292.11°) |
| OKLab | oklab(39.31% -0.0126 -0.1403) |
| OKLCH | oklch(39.31% 0.141 264.9) |
| XYZ | xyz(7.3200, 5.7493, 27.1041) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.79
Darkish Blue
#014182
ΔE00 4.48
Cobalt
#0047AB
ΔE00 4.62
Sapphire (survey)
#2138AB
ΔE00 5.06
Twilight Blue
#0A437A
ΔE00 5.62
Blueberry
#464196
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3E90 #90711F
analogous
#1F7790 #1F3E90 #391F90
triadic
#1F3E90 #901F3E #3E901F
tetradic
#1F3E90 #901F77 #90711F #1F9039
square
#1F3E90 #901F77 #90711F #1F9039
split-complementary
#1F3E90 #90391F #77901F
monochromatic
#09132B #14285E #1F3E90 #2A54C2 #5076D9
Accessibility & contrast
On white
9.77
#1F3E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#1F3E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3E90
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3E90 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1f3e90; /* rgb */ color: rgb(31, 62, 144); /* oklch */ color: oklch(39.3% 0.141 264.9);
Tailwind
colors: {
custom: {
50: '#6d72b1',
500: '#1f3e90',
950: '#000000',
},
}SCSS
$custom: #1f3e90; $custom-light: #6d72b1; $custom-dark: #000000;
JSON
{
"hex": "#1f3e90",
"rgb": {
"r": 31,
"g": 62,
"b": 144
},
"hsl": {
"h": 223.54,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.39312,
"c": 0.14081,
"h": 264.9
},
"luminance": 0.0575
}Semantic roles & 50–950 ramp
primary
#1F3E90
secondary
#BC9E4E
accent
#BA40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80