#1F4F93#1F4F93
#1F4F93 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.3% C 0.123 H 257.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4F93 |
|---|---|
| RGB | rgb(31, 79, 147) |
| HSL | hsl(215, 65%, 35%) |
| HSV | hsv(215, 79%, 58%) |
| CMYK | cmyk(78.9%, 46.3%, 0%, 42.4%) |
| CIE-LAB | lab(33.96, 9.35, -42.08) |
| CIE-LCH | lch(33.96, 43.10, 282.53°) |
| OKLab | oklab(43.34% -0.0261 -0.1207) |
| OKLCH | oklch(43.34% 0.123 257.8) |
| XYZ | xyz(8.6256, 7.9889, 28.6855) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.62
Cobalt (survey)
#1E488F
ΔE00 2.47
Light Navy
#155084
ΔE00 3.18
Light Navy Blue
#2E5A88
ΔE00 4.24
Cobalt
#0047AB
ΔE00 4.34
Denim Blue
#3B5B92
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4F93 #93631F
analogous
#1F8993 #1F4F93 #291F93
triadic
#1F4F93 #931F4F #4F931F
tetradic
#1F4F93 #931F89 #93631F #1F9329
square
#1F4F93 #931F89 #93631F #1F9329
split-complementary
#1F4F93 #93291F #89931F
monochromatic
#0A192E #143460 #1F4F93 #2A6AC6 #528ADA
Accessibility & contrast
On white
8.08
#1F4F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#1F4F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4F93
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4F93 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5696
Deuteranopia (green-blind)
#114B92
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4f93; /* rgb */ color: rgb(31, 79, 147); /* oklch */ color: oklch(43.3% 0.123 257.8);
Tailwind
colors: {
custom: {
50: '#6d7fb3',
500: '#1f4f93',
950: '#000000',
},
}SCSS
$custom: #1f4f93; $custom-light: #6d7fb3; $custom-dark: #000000;
JSON
{
"hex": "#1f4f93",
"rgb": {
"r": 31,
"g": 79,
"b": 147
},
"hsl": {
"h": 215.172,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.43343,
"c": 0.12345,
"h": 257.8
},
"luminance": 0.0799
}Semantic roles & 50–950 ramp
primary
#1F4F93
secondary
#BE9050
accent
#A240E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80