#1F4C92#1F4C92
#1F4C92 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.126 H 259.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4C92 |
|---|---|
| RGB | rgb(31, 76, 146) |
| HSL | hsl(217, 65%, 35%) |
| HSV | hsv(217, 79%, 57%) |
| CMYK | cmyk(78.8%, 47.9%, 0%, 42.7%) |
| CIE-LAB | lab(32.99, 10.97, -43.02) |
| CIE-LCH | lch(32.99, 44.39, 284.30°) |
| OKLab | oklab(42.58% -0.0237 -0.1235) |
| OKLCH | oklch(42.58% 0.126 259.1) |
| XYZ | xyz(8.3359, 7.5345, 28.2035) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.38
Dusk Blue
#26538D
ΔE00 2.58
Light Navy
#155084
ΔE00 3.81
Cobalt
#0047AB
ΔE00 3.83
Darkish Blue
#014182
ΔE00 4.05
Twilight Blue
#0A437A
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4C92 #92651F
analogous
#1F8692 #1F4C92 #2C1F92
triadic
#1F4C92 #921F4C #4C921F
tetradic
#1F4C92 #921F86 #92651F #1F922C
square
#1F4C92 #921F86 #92651F #1F922C
split-complementary
#1F4C92 #922C1F #86921F
monochromatic
#0A172D #143260 #1F4C92 #2A66C4 #5187DA
Accessibility & contrast
On white
8.38
#1F4C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#1F4C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4C92
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4C92 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265395
Deuteranopia (green-blind)
#064991
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f4c92; /* rgb */ color: rgb(31, 76, 146); /* oklch */ color: oklch(42.6% 0.126 259.1);
Tailwind
colors: {
custom: {
50: '#6d7db2',
500: '#1f4c92',
950: '#000000',
},
}SCSS
$custom: #1f4c92; $custom-light: #6d7db2; $custom-dark: #000000;
JSON
{
"hex": "#1f4c92",
"rgb": {
"r": 31,
"g": 76,
"b": 146
},
"hsl": {
"h": 216.522,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.42577,
"c": 0.12574,
"h": 259.1
},
"luminance": 0.07536
}Semantic roles & 50–950 ramp
primary
#1F4C92
secondary
#BD9250
accent
#A640E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80