#1F4692#1F4692
#1F4692 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.133 H 262.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4692 |
|---|---|
| RGB | rgb(31, 70, 146) |
| HSL | hsl(220, 65%, 35%) |
| HSV | hsv(220, 79%, 57%) |
| CMYK | cmyk(78.8%, 52.1%, 0%, 42.7%) |
| CIE-LAB | lab(31.22, 15.05, -45.88) |
| CIE-LCH | lch(31.22, 48.28, 288.16°) |
| OKLab | oklab(41.22% -0.0187 -0.132) |
| OKLCH | oklch(41.22% 0.133 262) |
| XYZ | xyz(7.9417, 6.7460, 28.0721) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.06
Cobalt
#0047AB
ΔE00 3.33
Darkish Blue
#014182
ΔE00 3.50
Twilight Blue
#0A437A
ΔE00 4.35
Dusk Blue
#26538D
ΔE00 4.74
Prussian Blue
#004577
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4692 #926B1F
analogous
#1F8092 #1F4692 #311F92
triadic
#1F4692 #921F46 #46921F
tetradic
#1F4692 #921F80 #926B1F #1F9231
square
#1F4692 #921F80 #926B1F #1F9231
split-complementary
#1F4692 #92311F #80921F
monochromatic
#0A162D #142E60 #1F4692 #2A5EC4 #5180DA
Accessibility & contrast
On white
8.94
#1F4692 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#1F4692 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4692
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4692 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4692 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#154F95
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f4692; /* rgb */ color: rgb(31, 70, 146); /* oklch */ color: oklch(41.2% 0.133 262.0);
Tailwind
colors: {
custom: {
50: '#6d78b2',
500: '#1f4692',
950: '#000000',
},
}SCSS
$custom: #1f4692; $custom-light: #6d78b2; $custom-dark: #000000;
JSON
{
"hex": "#1f4692",
"rgb": {
"r": 31,
"g": 70,
"b": 146
},
"hsl": {
"h": 219.652,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.41218,
"c": 0.13333,
"h": 262
},
"luminance": 0.06747
}Semantic roles & 50–950 ramp
primary
#1F4692
secondary
#BD9850
accent
#AF40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80