#1F3D90#1F3D90
#1F3D90 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.142 H 265.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3D90 |
|---|---|
| RGB | rgb(31, 61, 144) |
| HSL | hsl(224, 65%, 34%) |
| HSV | hsv(224, 78%, 56%) |
| CMYK | cmyk(78.5%, 57.6%, 0%, 43.5%) |
| CIE-LAB | lab(28.49, 20.44, -49.08) |
| CIE-LCH | lch(28.49, 53.16, 292.61°) |
| OKLab | oklab(39.1% -0.0118 -0.1416) |
| OKLCH | oklch(39.1% 0.142 265.2) |
| XYZ | xyz(7.2661, 5.6416, 27.0861) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.14
Darkish Blue
#014182
ΔE00 4.74
Cobalt
#0047AB
ΔE00 4.84
Sapphire (survey)
#2138AB
ΔE00 4.86
Twilight Blue
#0A437A
ΔE00 5.88
Blueberry
#464196
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3D90 #90721F
analogous
#1F7690 #1F3D90 #3A1F90
triadic
#1F3D90 #901F3D #3D901F
tetradic
#1F3D90 #901F76 #90721F #1F903A
square
#1F3D90 #901F76 #90721F #1F903A
split-complementary
#1F3D90 #903A1F #76901F
monochromatic
#09122B #14285E #1F3D90 #2A52C2 #5075D9
Accessibility & contrast
On white
9.87
#1F3D90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#1F3D90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3D90
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3D90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3D90 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f3d90; /* rgb */ color: rgb(31, 61, 144); /* oklch */ color: oklch(39.1% 0.142 265.2);
Tailwind
colors: {
custom: {
50: '#6d72b1',
500: '#1f3d90',
950: '#000000',
},
}SCSS
$custom: #1f3d90; $custom-light: #6d72b1; $custom-dark: #000000;
JSON
{
"hex": "#1f3d90",
"rgb": {
"r": 31,
"g": 61,
"b": 144
},
"hsl": {
"h": 224.071,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.391,
"c": 0.1421,
"h": 265.2
},
"luminance": 0.05642
}Semantic roles & 50–950 ramp
primary
#1F3D90
secondary
#BC9F4E
accent
#BB40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80