#1F4392#1F4392
#1F4392 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.137 H 263.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4392 |
|---|---|
| RGB | rgb(31, 67, 146) |
| HSL | hsl(221, 65%, 35%) |
| HSV | hsv(221, 79%, 57%) |
| CMYK | cmyk(78.8%, 54.1%, 0%, 42.7%) |
| CIE-LAB | lab(30.35, 17.10, -47.28) |
| CIE-LCH | lch(30.35, 50.28, 289.89°) |
| OKLab | oklab(40.56% -0.0163 -0.1362) |
| OKLCH | oklch(40.56% 0.137 263.2) |
| XYZ | xyz(7.7587, 6.3801, 28.0111) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.11
Cobalt
#0047AB
ΔE00 3.55
Darkish Blue
#014182
ΔE00 3.73
Twilight Blue
#0A437A
ΔE00 4.76
Dusk Blue
#26538D
ΔE00 5.82
Sapphire (survey)
#2138AB
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4392 #926E1F
analogous
#1F7D92 #1F4392 #341F92
triadic
#1F4392 #921F43 #43921F
tetradic
#1F4392 #921F7D #926E1F #1F9234
square
#1F4392 #921F7D #926E1F #1F9234
split-complementary
#1F4392 #92341F #7D921F
monochromatic
#0A152D #142C60 #1F4392 #2A5AC4 #517CDA
Accessibility & contrast
On white
9.23
#1F4392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#1F4392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4392
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4392 | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#084D95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f4392; /* rgb */ color: rgb(31, 67, 146); /* oklch */ color: oklch(40.6% 0.137 263.2);
Tailwind
colors: {
custom: {
50: '#6d76b3',
500: '#1f4392',
950: '#000000',
},
}SCSS
$custom: #1f4392; $custom-light: #6d76b3; $custom-dark: #000000;
JSON
{
"hex": "#1f4392",
"rgb": {
"r": 31,
"g": 67,
"b": 146
},
"hsl": {
"h": 221.217,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.40556,
"c": 0.13719,
"h": 263.2
},
"luminance": 0.06381
}Semantic roles & 50–950 ramp
primary
#1F4392
secondary
#BD9B50
accent
#B340E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80