#1F4B95#1F4B95
#1F4B95 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.131 H 260.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4B95 |
|---|---|
| RGB | rgb(31, 75, 149) |
| HSL | hsl(218, 66%, 35%) |
| HSV | hsv(218, 79%, 58%) |
| CMYK | cmyk(79.2%, 49.7%, 0%, 41.6%) |
| CIE-LAB | lab(32.90, 12.84, -44.99) |
| CIE-LCH | lch(32.90, 46.79, 285.93°) |
| OKLab | oklab(42.57% -0.0223 -0.1293) |
| OKLCH | oklch(42.57% 0.131 260.2) |
| XYZ | xyz(8.5040, 7.4924, 29.4259) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.17
Dusk Blue
#26538D
ΔE00 3.14
Cobalt
#0047AB
ΔE00 3.30
Darkish Blue
#014182
ΔE00 4.13
Light Navy
#155084
ΔE00 4.39
Twilight Blue
#0A437A
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4B95 #95691F
analogous
#1F8695 #1F4B95 #2E1F95
triadic
#1F4B95 #951F4B #4B951F
tetradic
#1F4B95 #951F86 #95691F #1F952E
square
#1F4B95 #951F86 #95691F #1F952E
split-complementary
#1F4B95 #952E1F #86951F
monochromatic
#0A1830 #143162 #1F4B95 #2A64C8 #5386DB
Accessibility & contrast
On white
8.40
#1F4B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#1F4B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4B95
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4B95 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1f4b95; /* rgb */ color: rgb(31, 75, 149); /* oklch */ color: oklch(42.6% 0.131 260.2);
Tailwind
colors: {
custom: {
50: '#6e7cb5',
500: '#1f4b95',
950: '#000000',
},
}SCSS
$custom: #1f4b95; $custom-light: #6e7cb5; $custom-dark: #000000;
JSON
{
"hex": "#1f4b95",
"rgb": {
"r": 31,
"g": 75,
"b": 149
},
"hsl": {
"h": 217.627,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.42572,
"c": 0.13124,
"h": 260.2
},
"luminance": 0.07493
}Semantic roles & 50–950 ramp
primary
#1F4B95
secondary
#BF9651
accent
#A93FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80