#1F4592#1F4592
#1F4592 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.135 H 262.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4592 |
|---|---|
| RGB | rgb(31, 69, 146) |
| HSL | hsl(220, 65%, 35%) |
| HSV | hsv(220, 79%, 57%) |
| CMYK | cmyk(78.8%, 52.7%, 0%, 42.7%) |
| CIE-LAB | lab(30.93, 15.73, -46.35) |
| CIE-LCH | lch(30.93, 48.94, 288.75°) |
| OKLab | oklab(41% -0.0178 -0.1334) |
| OKLCH | oklch(41% 0.135 262.4) |
| XYZ | xyz(7.8796, 6.6220, 28.0514) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.40
Cobalt
#0047AB
ΔE00 3.37
Darkish Blue
#014182
ΔE00 3.54
Twilight Blue
#0A437A
ΔE00 4.46
Dusk Blue
#26538D
ΔE00 5.10
Prussian Blue
#004577
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4592 #926C1F
analogous
#1F7F92 #1F4592 #331F92
triadic
#1F4592 #921F45 #45921F
tetradic
#1F4592 #921F7F #926C1F #1F9233
square
#1F4592 #921F7F #926C1F #1F9233
split-complementary
#1F4592 #92331F #7F921F
monochromatic
#0A152D #142D60 #1F4592 #2A5DC4 #517EDA
Accessibility & contrast
On white
9.03
#1F4592 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1F4592 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4592
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4592 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4592 | 1.00 | 9.03 | 2.32 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124E95
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f4592; /* rgb */ color: rgb(31, 69, 146); /* oklch */ color: oklch(41.0% 0.135 262.4);
Tailwind
colors: {
custom: {
50: '#6d78b3',
500: '#1f4592',
950: '#000000',
},
}SCSS
$custom: #1f4592; $custom-light: #6d78b3; $custom-dark: #000000;
JSON
{
"hex": "#1f4592",
"rgb": {
"r": 31,
"g": 69,
"b": 146
},
"hsl": {
"h": 220.174,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.40996,
"c": 0.13462,
"h": 262.4
},
"luminance": 0.06623
}Semantic roles & 50–950 ramp
primary
#1F4592
secondary
#BD9950
accent
#B040E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80