#1F4796#1F4796
#1F4796 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.138 H 262.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4796 |
|---|---|
| RGB | rgb(31, 71, 150) |
| HSL | hsl(220, 66%, 35%) |
| HSV | hsv(220, 79%, 59%) |
| CMYK | cmyk(79.3%, 52.7%, 0%, 41.2%) |
| CIE-LAB | lab(31.80, 15.97, -47.37) |
| CIE-LCH | lch(31.80, 49.99, 288.63°) |
| OKLab | oklab(41.76% -0.019 -0.1364) |
| OKLCH | oklch(41.76% 0.138 262.1) |
| XYZ | xyz(8.3214, 6.9988, 29.7606) |
| Luminance | 0.0700 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.28
Cobalt
#0047AB
ΔE00 2.83
Darkish Blue
#014182
ΔE00 3.95
Dusk Blue
#26538D
ΔE00 4.61
Twilight Blue
#0A437A
ΔE00 4.78
Sapphire
#0F52BA
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4796 #966E1F
analogous
#1F8296 #1F4796 #321F96
triadic
#1F4796 #961F47 #47961F
tetradic
#1F4796 #961F82 #966E1F #1F9632
square
#1F4796 #961F82 #966E1F #1F9632
split-complementary
#1F4796 #96321F #82961F
monochromatic
#0A1731 #152F63 #1F4796 #295FC9 #5481DC
Accessibility & contrast
On white
8.75
#1F4796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#1F4796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4796
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4796 | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#125199
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f4796; /* rgb */ color: rgb(31, 71, 150); /* oklch */ color: oklch(41.8% 0.138 262.1);
Tailwind
colors: {
custom: {
50: '#6e79b5',
500: '#1f4796',
950: '#000000',
},
}SCSS
$custom: #1f4796; $custom-light: #6e79b5; $custom-dark: #000000;
JSON
{
"hex": "#1f4796",
"rgb": {
"r": 31,
"g": 71,
"b": 150
},
"hsl": {
"h": 219.832,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.41755,
"c": 0.13772,
"h": 262.1
},
"luminance": 0.07
}Semantic roles & 50–950 ramp
primary
#1F4796
secondary
#BF9A52
accent
#B03FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80