#1F3D92#1F3D92
#1F3D92 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.145 H 265.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3D92 |
|---|---|
| RGB | rgb(31, 61, 146) |
| HSL | hsl(224, 65%, 35%) |
| HSV | hsv(224, 79%, 57%) |
| CMYK | cmyk(78.8%, 58.2%, 0%, 42.7%) |
| CIE-LAB | lab(28.65, 21.23, -50.04) |
| CIE-LCH | lch(28.65, 54.36, 292.99°) |
| OKLab | oklab(39.27% -0.0117 -0.1444) |
| OKLCH | oklch(39.27% 0.145 265.4) |
| XYZ | xyz(7.4203, 5.7033, 27.8983) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.25
Sapphire (survey)
#2138AB
ΔE00 4.55
Cobalt
#0047AB
ΔE00 4.69
Darkish Blue
#014182
ΔE00 4.94
Blueberry
#464196
ΔE00 5.86
Twilight Blue
#0A437A
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3D92 #92741F
analogous
#1F7792 #1F3D92 #3B1F92
triadic
#1F3D92 #921F3D #3D921F
tetradic
#1F3D92 #921F77 #92741F #1F923B
square
#1F3D92 #921F77 #92741F #1F923B
split-complementary
#1F3D92 #923B1F #77921F
monochromatic
#0A132D #142860 #1F3D92 #2A52C4 #5175DA
Accessibility & contrast
On white
9.81
#1F3D92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#1F3D92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3D92
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3D92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3D92 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1f3d92; /* rgb */ color: rgb(31, 61, 146); /* oklch */ color: oklch(39.3% 0.145 265.4);
Tailwind
colors: {
custom: {
50: '#6e72b3',
500: '#1f3d92',
950: '#000000',
},
}SCSS
$custom: #1f3d92; $custom-light: #6e72b3; $custom-dark: #000000;
JSON
{
"hex": "#1f3d92",
"rgb": {
"r": 31,
"g": 61,
"b": 146
},
"hsl": {
"h": 224.348,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.39272,
"c": 0.14492,
"h": 265.4
},
"luminance": 0.05704
}Semantic roles & 50–950 ramp
primary
#1F3D92
secondary
#BDA150
accent
#BC40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80