#1F4391#1F4391
#1F4391 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.136 H 263.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4391 |
|---|---|
| RGB | rgb(31, 67, 145) |
| HSL | hsl(221, 65%, 35%) |
| HSV | hsv(221, 79%, 57%) |
| CMYK | cmyk(78.6%, 53.8%, 0%, 43.1%) |
| CIE-LAB | lab(30.28, 16.70, -46.79) |
| CIE-LCH | lch(30.28, 49.68, 289.65°) |
| OKLab | oklab(40.48% -0.0164 -0.1348) |
| OKLCH | oklch(40.48% 0.136 263.1) |
| XYZ | xyz(7.6812, 6.3491, 27.6032) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.04
Darkish Blue
#014182
ΔE00 3.61
Cobalt
#0047AB
ΔE00 3.67
Twilight Blue
#0A437A
ΔE00 4.64
Dusk Blue
#26538D
ΔE00 5.77
Prussian Blue
#004577
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4391 #916D1F
analogous
#1F7C91 #1F4391 #341F91
triadic
#1F4391 #911F43 #43911F
tetradic
#1F4391 #911F7C #916D1F #1F9134
square
#1F4391 #911F7C #916D1F #1F9134
split-complementary
#1F4391 #91341F #7C911F
monochromatic
#09142C #142C5F #1F4391 #2A5AC3 #517CDA
Accessibility & contrast
On white
9.25
#1F4391 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#1F4391 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4391
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4391 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4391 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A4D94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f4391; /* rgb */ color: rgb(31, 67, 145); /* oklch */ color: oklch(40.5% 0.136 263.1);
Tailwind
colors: {
custom: {
50: '#6d76b2',
500: '#1f4391',
950: '#000000',
},
}SCSS
$custom: #1f4391; $custom-light: #6d76b2; $custom-dark: #000000;
JSON
{
"hex": "#1f4391",
"rgb": {
"r": 31,
"g": 67,
"b": 145
},
"hsl": {
"h": 221.053,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.40476,
"c": 0.13577,
"h": 263.1
},
"luminance": 0.0635
}Semantic roles & 50–950 ramp
primary
#1F4391
secondary
#BD9A4F
accent
#B340E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80