#1F4394#1F4394
#1F4394 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.140 H 263.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4394 |
|---|---|
| RGB | rgb(31, 67, 148) |
| HSL | hsl(222, 65%, 35%) |
| HSV | hsv(222, 79%, 58%) |
| CMYK | cmyk(79.1%, 54.7%, 0%, 42%) |
| CIE-LAB | lab(30.50, 17.90, -48.26) |
| CIE-LCH | lch(30.50, 51.48, 290.35°) |
| OKLab | oklab(40.72% -0.0161 -0.1391) |
| OKLCH | oklch(40.72% 0.14 263.4) |
| XYZ | xyz(7.9156, 6.4428, 28.8376) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.27
Cobalt
#0047AB
ΔE00 3.34
Darkish Blue
#014182
ΔE00 3.97
Twilight Blue
#0A437A
ΔE00 5.01
Sapphire (survey)
#2138AB
ΔE00 5.76
Dusk Blue
#26538D
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4394 #94701F
analogous
#1F7E94 #1F4394 #351F94
triadic
#1F4394 #941F43 #43941F
tetradic
#1F4394 #941F7E #94701F #1F9435
square
#1F4394 #941F7E #94701F #1F9435
split-complementary
#1F4394 #94351F #7E941F
monochromatic
#0A152F #142C61 #1F4394 #2A5AC7 #537CDB
Accessibility & contrast
On white
9.18
#1F4394 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1F4394 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4394
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4394 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4394 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#024D97
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f4394; /* rgb */ color: rgb(31, 67, 148); /* oklch */ color: oklch(40.7% 0.140 263.4);
Tailwind
colors: {
custom: {
50: '#6e76b4',
500: '#1f4394',
950: '#000000',
},
}SCSS
$custom: #1f4394; $custom-light: #6e76b4; $custom-dark: #000000;
JSON
{
"hex": "#1f4394",
"rgb": {
"r": 31,
"g": 67,
"b": 148
},
"hsl": {
"h": 221.538,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.40719,
"c": 0.14002,
"h": 263.4
},
"luminance": 0.06444
}Semantic roles & 50–950 ramp
primary
#1F4394
secondary
#BE9C51
accent
#B43FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80