#1F4593#1F4593
#1F4593 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.136 H 262.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4593 |
|---|---|
| RGB | rgb(31, 69, 147) |
| HSL | hsl(220, 65%, 35%) |
| HSV | hsv(220, 79%, 58%) |
| CMYK | cmyk(78.9%, 53.1%, 0%, 42.4%) |
| CIE-LAB | lab(31.00, 16.13, -46.84) |
| CIE-LCH | lch(31.00, 49.54, 289.01°) |
| OKLab | oklab(41.08% -0.0177 -0.1349) |
| OKLCH | oklch(41.08% 0.136 262.5) |
| XYZ | xyz(7.9578, 6.6532, 28.4629) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.49
Cobalt
#0047AB
ΔE00 3.25
Darkish Blue
#014182
ΔE00 3.66
Twilight Blue
#0A437A
ΔE00 4.59
Dusk Blue
#26538D
ΔE00 5.15
Prussian Blue
#004577
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4593 #936D1F
analogous
#1F7F93 #1F4593 #331F93
triadic
#1F4593 #931F45 #45931F
tetradic
#1F4593 #931F7F #936D1F #1F9333
square
#1F4593 #931F7F #936D1F #1F9333
split-complementary
#1F4593 #93331F #7F931F
monochromatic
#0A162E #142D60 #1F4593 #2A5DC6 #527FDA
Accessibility & contrast
On white
9.01
#1F4593 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1F4593 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4593
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4593 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4593 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F4F96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f4593; /* rgb */ color: rgb(31, 69, 147); /* oklch */ color: oklch(41.1% 0.136 262.5);
Tailwind
colors: {
custom: {
50: '#6d78b3',
500: '#1f4593',
950: '#000000',
},
}SCSS
$custom: #1f4593; $custom-light: #6d78b3; $custom-dark: #000000;
JSON
{
"hex": "#1f4593",
"rgb": {
"r": 31,
"g": 69,
"b": 147
},
"hsl": {
"h": 220.345,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.41076,
"c": 0.13604,
"h": 262.5
},
"luminance": 0.06654
}Semantic roles & 50–950 ramp
primary
#1F4593
secondary
#BE9A50
accent
#B140E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80