#1F4E95#1F4E95
#1F4E95 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.127 H 258.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4E95 |
|---|---|
| RGB | rgb(31, 78, 149) |
| HSL | hsl(216, 66%, 35%) |
| HSV | hsv(216, 79%, 58%) |
| CMYK | cmyk(79.2%, 47.7%, 0%, 41.6%) |
| CIE-LAB | lab(33.79, 10.82, -43.56) |
| CIE-LCH | lch(33.79, 44.88, 283.95°) |
| OKLab | oklab(43.26% -0.0249 -0.125) |
| OKLCH | oklch(43.26% 0.127 258.8) |
| XYZ | xyz(8.7123, 7.9090, 29.4954) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.10
Dusk Blue
#26538D
ΔE00 2.11
Light Navy
#155084
ΔE00 3.63
Cobalt
#0047AB
ΔE00 3.89
Light Navy Blue
#2E5A88
ΔE00 4.67
Darkish Blue
#014182
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4E95 #95661F
analogous
#1F8995 #1F4E95 #2B1F95
triadic
#1F4E95 #951F4E #4E951F
tetradic
#1F4E95 #951F89 #95661F #1F952B
square
#1F4E95 #951F89 #95661F #1F952B
split-complementary
#1F4E95 #952B1F #89951F
monochromatic
#0A1930 #143362 #1F4E95 #2A69C8 #5389DB
Accessibility & contrast
On white
8.13
#1F4E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#1F4E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4E95
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4E95 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#074A94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #1f4e95; /* rgb */ color: rgb(31, 78, 149); /* oklch */ color: oklch(43.3% 0.127 258.8);
Tailwind
colors: {
custom: {
50: '#6d7fb5',
500: '#1f4e95',
950: '#000000',
},
}SCSS
$custom: #1f4e95; $custom-light: #6d7fb5; $custom-dark: #000000;
JSON
{
"hex": "#1f4e95",
"rgb": {
"r": 31,
"g": 78,
"b": 149
},
"hsl": {
"h": 216.102,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.43256,
"c": 0.12749,
"h": 258.8
},
"luminance": 0.0791
}Semantic roles & 50–950 ramp
primary
#1F4E95
secondary
#BF9351
accent
#A53FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80