#1F3C92#1F3C92
#1F3C92 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.146 H 265.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3C92 |
|---|---|
| RGB | rgb(31, 60, 146) |
| HSL | hsl(225, 65%, 35%) |
| HSV | hsv(225, 79%, 57%) |
| CMYK | cmyk(78.8%, 58.9%, 0%, 42.7%) |
| CIE-LAB | lab(28.37, 21.92, -50.50) |
| CIE-LCH | lch(28.37, 55.05, 293.47°) |
| OKLab | oklab(39.06% -0.011 -0.1458) |
| OKLCH | oklch(39.06% 0.146 265.7) |
| XYZ | xyz(7.3674, 5.5975, 27.8807) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.36
Cobalt (survey)
#1E488F
ΔE00 4.60
Cobalt
#0047AB
ΔE00 4.93
Darkish Blue
#014182
ΔE00 5.20
Blueberry
#464196
ΔE00 5.79
Twilight Blue
#0A437A
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3C92 #92751F
analogous
#1F7592 #1F3C92 #3C1F92
triadic
#1F3C92 #921F3C #3C921F
tetradic
#1F3C92 #921F75 #92751F #1F923C
square
#1F3C92 #921F75 #92751F #1F923C
split-complementary
#1F3C92 #923C1F #75921F
monochromatic
#0A132D #142760 #1F3C92 #2A51C4 #5174DA
Accessibility & contrast
On white
9.91
#1F3C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#1F3C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3C92
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3C92 | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f3c92; /* rgb */ color: rgb(31, 60, 146); /* oklch */ color: oklch(39.1% 0.146 265.7);
Tailwind
colors: {
custom: {
50: '#6e71b3',
500: '#1f3c92',
950: '#000000',
},
}SCSS
$custom: #1f3c92; $custom-light: #6e71b3; $custom-dark: #000000;
JSON
{
"hex": "#1f3c92",
"rgb": {
"r": 31,
"g": 60,
"b": 146
},
"hsl": {
"h": 224.87,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.39064,
"c": 0.1462,
"h": 265.7
},
"luminance": 0.05598
}Semantic roles & 50–950 ramp
primary
#1F3C92
secondary
#BDA250
accent
#BE40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80