#1F4698#1F4698
#1F4698 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.142 H 262.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4698 |
|---|---|
| RGB | rgb(31, 70, 152) |
| HSL | hsl(221, 66%, 36%) |
| HSV | hsv(221, 80%, 60%) |
| CMYK | cmyk(79.6%, 53.9%, 0%, 40.4%) |
| CIE-LAB | lab(31.66, 17.45, -48.82) |
| CIE-LCH | lch(31.66, 51.84, 289.67°) |
| OKLab | oklab(41.7% -0.018 -0.1407) |
| OKLCH | oklch(41.7% 0.142 262.7) |
| XYZ | xyz(8.4207, 6.9376, 30.5950) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.79
Cobalt
#0047AB
ΔE00 2.62
Darkish Blue
#014182
ΔE00 4.22
Dusk Blue
#26538D
ΔE00 5.09
Twilight Blue
#0A437A
ΔE00 5.12
Sapphire
#0F52BA
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4698 #98711F
analogous
#1F8298 #1F4698 #341F98
triadic
#1F4698 #981F46 #46981F
tetradic
#1F4698 #981F82 #98711F #1F9834
square
#1F4698 #981F82 #98711F #1F9834
split-complementary
#1F4698 #98341F #82981F
monochromatic
#0A1732 #152F65 #1F4698 #295DCB #5581DC
Accessibility & contrast
On white
8.79
#1F4698 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#1F4698 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4698
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4698 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4698 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#07509B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f4698; /* rgb */ color: rgb(31, 70, 152); /* oklch */ color: oklch(41.7% 0.142 262.7);
Tailwind
colors: {
custom: {
50: '#6e78b7',
500: '#1f4698',
950: '#000000',
},
}SCSS
$custom: #1f4698; $custom-light: #6e78b7; $custom-dark: #000000;
JSON
{
"hex": "#1f4698",
"rgb": {
"r": 31,
"g": 70,
"b": 152
},
"hsl": {
"h": 220.661,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.41696,
"c": 0.14182,
"h": 262.7
},
"luminance": 0.06939
}Semantic roles & 50–950 ramp
primary
#1F4698
secondary
#C09D53
accent
#B23FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80