#1F4292#1F4292
#1F4292 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.138 H 263.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4292 |
|---|---|
| RGB | rgb(31, 66, 146) |
| HSL | hsl(222, 65%, 35%) |
| HSV | hsv(222, 79%, 57%) |
| CMYK | cmyk(78.8%, 54.8%, 0%, 42.7%) |
| CIE-LAB | lab(30.06, 17.79, -47.75) |
| CIE-LCH | lch(30.06, 50.96, 290.44°) |
| OKLab | oklab(40.34% -0.0155 -0.1376) |
| OKLCH | oklch(40.34% 0.138 263.6) |
| XYZ | xyz(7.6997, 6.2622, 27.9915) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.47
Cobalt
#0047AB
ΔE00 3.69
Darkish Blue
#014182
ΔE00 3.88
Twilight Blue
#0A437A
ΔE00 4.95
Sapphire (survey)
#2138AB
ΔE00 5.74
Dusk Blue
#26538D
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4292 #926F1F
analogous
#1F7C92 #1F4292 #351F92
triadic
#1F4292 #921F42 #42921F
tetradic
#1F4292 #921F7C #926F1F #1F9235
square
#1F4292 #921F7C #926F1F #1F9235
split-complementary
#1F4292 #92351F #7C921F
monochromatic
#0A142D #142B60 #1F4292 #2A59C4 #517BDA
Accessibility & contrast
On white
9.32
#1F4292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#1F4292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4292
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4292 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#024C95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f4292; /* rgb */ color: rgb(31, 66, 146); /* oklch */ color: oklch(40.3% 0.138 263.6);
Tailwind
colors: {
custom: {
50: '#6d75b3',
500: '#1f4292',
950: '#000000',
},
}SCSS
$custom: #1f4292; $custom-light: #6d75b3; $custom-dark: #000000;
JSON
{
"hex": "#1f4292",
"rgb": {
"r": 31,
"g": 66,
"b": 146
},
"hsl": {
"h": 221.739,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.40339,
"c": 0.13848,
"h": 263.6
},
"luminance": 0.06263
}Semantic roles & 50–950 ramp
primary
#1F4292
secondary
#BD9C50
accent
#B540E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80