#1F4794#1F4794
#1F4794 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.135 H 261.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4794 |
|---|---|
| RGB | rgb(31, 71, 148) |
| HSL | hsl(219, 65%, 35%) |
| HSV | hsv(219, 79%, 58%) |
| CMYK | cmyk(79.1%, 52%, 0%, 42%) |
| CIE-LAB | lab(31.66, 15.16, -46.39) |
| CIE-LCH | lch(31.66, 48.81, 288.10°) |
| OKLab | oklab(41.6% -0.0192 -0.1335) |
| OKLCH | oklch(41.6% 0.135 261.8) |
| XYZ | xyz(8.1617, 6.9350, 28.9197) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.00
Cobalt
#0047AB
ΔE00 3.08
Darkish Blue
#014182
ΔE00 3.72
Dusk Blue
#26538D
ΔE00 4.49
Twilight Blue
#0A437A
ΔE00 4.52
Light Navy
#155084
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4794 #946C1F
analogous
#1F8294 #1F4794 #311F94
triadic
#1F4794 #941F47 #47941F
tetradic
#1F4794 #941F82 #946C1F #1F9431
square
#1F4794 #941F82 #946C1F #1F9431
split-complementary
#1F4794 #94311F #82941F
monochromatic
#0A162F #142F61 #1F4794 #2A5FC7 #5381DB
Accessibility & contrast
On white
8.80
#1F4794 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#1F4794 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4794
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4794 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4794 | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#155097
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f4794; /* rgb */ color: rgb(31, 71, 148); /* oklch */ color: oklch(41.6% 0.135 261.8);
Tailwind
colors: {
custom: {
50: '#6d79b4',
500: '#1f4794',
950: '#000000',
},
}SCSS
$custom: #1f4794; $custom-light: #6d79b4; $custom-dark: #000000;
JSON
{
"hex": "#1f4794",
"rgb": {
"r": 31,
"g": 71,
"b": 148
},
"hsl": {
"h": 219.487,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.41598,
"c": 0.13489,
"h": 261.8
},
"luminance": 0.06936
}Semantic roles & 50–950 ramp
primary
#1F4794
secondary
#BE9951
accent
#AF3FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80