#1F3F90#1F3F90
#1F3F90 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.140 H 264.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3F90 |
|---|---|
| RGB | rgb(31, 63, 144) |
| HSL | hsl(223, 65%, 34%) |
| HSV | hsv(223, 78%, 56%) |
| CMYK | cmyk(78.5%, 56.3%, 0%, 43.5%) |
| CIE-LAB | lab(29.05, 19.06, -48.16) |
| CIE-LCH | lch(29.05, 51.80, 291.59°) |
| OKLab | oklab(39.53% -0.0133 -0.1389) |
| OKLCH | oklch(39.53% 0.14 264.5) |
| XYZ | xyz(7.3748, 5.8591, 27.1224) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.43
Darkish Blue
#014182
ΔE00 4.24
Cobalt
#0047AB
ΔE00 4.41
Sapphire (survey)
#2138AB
ΔE00 5.28
Twilight Blue
#0A437A
ΔE00 5.37
Blueberry
#464196
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3F90 #90701F
analogous
#1F7890 #1F3F90 #381F90
triadic
#1F3F90 #901F3F #3F901F
tetradic
#1F3F90 #901F78 #90701F #1F9038
square
#1F3F90 #901F78 #90701F #1F9038
split-complementary
#1F3F90 #90381F #78901F
monochromatic
#09132B #14295E #1F3F90 #2A55C2 #5077D9
Accessibility & contrast
On white
9.67
#1F3F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#1F3F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3F90
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3F90 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1f3f90; /* rgb */ color: rgb(31, 63, 144); /* oklch */ color: oklch(39.5% 0.140 264.5);
Tailwind
colors: {
custom: {
50: '#6d73b1',
500: '#1f3f90',
950: '#000000',
},
}SCSS
$custom: #1f3f90; $custom-light: #6d73b1; $custom-dark: #000000;
JSON
{
"hex": "#1f3f90",
"rgb": {
"r": 31,
"g": 63,
"b": 144
},
"hsl": {
"h": 223.009,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.39525,
"c": 0.13952,
"h": 264.5
},
"luminance": 0.0586
}Semantic roles & 50–950 ramp
primary
#1F3F90
secondary
#BC9D4E
accent
#B840E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80