#1F3F92#1F3F92
#1F3F92 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.142 H 264.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3F92 |
|---|---|
| RGB | rgb(31, 63, 146) |
| HSL | hsl(223, 65%, 35%) |
| HSV | hsv(223, 79%, 57%) |
| CMYK | cmyk(78.8%, 56.8%, 0%, 42.7%) |
| CIE-LAB | lab(29.21, 19.86, -49.13) |
| CIE-LCH | lch(29.21, 52.99, 292.01°) |
| OKLab | oklab(39.69% -0.0132 -0.1417) |
| OKLCH | oklch(39.69% 0.142 264.7) |
| XYZ | xyz(7.5290, 5.9208, 27.9346) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.54
Cobalt
#0047AB
ΔE00 4.24
Darkish Blue
#014182
ΔE00 4.46
Sapphire (survey)
#2138AB
ΔE00 4.99
Twilight Blue
#0A437A
ΔE00 5.60
Blueberry
#464196
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3F92 #92721F
analogous
#1F7992 #1F3F92 #381F92
triadic
#1F3F92 #921F3F #3F921F
tetradic
#1F3F92 #921F79 #92721F #1F9238
square
#1F3F92 #921F79 #92721F #1F9238
split-complementary
#1F3F92 #92381F #79921F
monochromatic
#0A132D #142960 #1F3F92 #2A55C4 #5177DA
Accessibility & contrast
On white
9.61
#1F3F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1F3F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3F92
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3F92 | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f3f92; /* rgb */ color: rgb(31, 63, 146); /* oklch */ color: oklch(39.7% 0.142 264.7);
Tailwind
colors: {
custom: {
50: '#6d73b3',
500: '#1f3f92',
950: '#000000',
},
}SCSS
$custom: #1f3f92; $custom-light: #6d73b3; $custom-dark: #000000;
JSON
{
"hex": "#1f3f92",
"rgb": {
"r": 31,
"g": 63,
"b": 146
},
"hsl": {
"h": 223.304,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.39694,
"c": 0.14235,
"h": 264.7
},
"luminance": 0.05922
}Semantic roles & 50–950 ramp
primary
#1F3F92
secondary
#BD9F50
accent
#B940E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80