#1F4590#1F4590
#1F4590 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.132 H 262.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4590 |
|---|---|
| RGB | rgb(31, 69, 144) |
| HSL | hsl(220, 65%, 34%) |
| HSV | hsv(220, 78%, 56%) |
| CMYK | cmyk(78.5%, 52.1%, 0%, 43.5%) |
| CIE-LAB | lab(30.78, 14.93, -45.36) |
| CIE-LCH | lch(30.78, 47.75, 288.22°) |
| OKLab | oklab(40.84% -0.0181 -0.1305) |
| OKLCH | oklch(40.84% 0.132 262.1) |
| XYZ | xyz(7.7254, 6.5603, 27.2393) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.24
Darkish Blue
#014182
ΔE00 3.31
Cobalt
#0047AB
ΔE00 3.62
Twilight Blue
#0A437A
ΔE00 4.21
Dusk Blue
#26538D
ΔE00 5.01
Prussian Blue
#004577
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4590 #906A1F
analogous
#1F7E90 #1F4590 #321F90
triadic
#1F4590 #901F45 #45901F
tetradic
#1F4590 #901F7E #906A1F #1F9032
square
#1F4590 #901F7E #906A1F #1F9032
split-complementary
#1F4590 #90321F #7E901F
monochromatic
#09152B #142D5E #1F4590 #2A5DC2 #507ED9
Accessibility & contrast
On white
9.08
#1F4590 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#1F4590 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4590
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4590 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4590 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#154E93
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f4590; /* rgb */ color: rgb(31, 69, 144); /* oklch */ color: oklch(40.8% 0.132 262.1);
Tailwind
colors: {
custom: {
50: '#6d78b1',
500: '#1f4590',
950: '#000000',
},
}SCSS
$custom: #1f4590; $custom-light: #6d78b1; $custom-dark: #000000;
JSON
{
"hex": "#1f4590",
"rgb": {
"r": 31,
"g": 69,
"b": 144
},
"hsl": {
"h": 219.823,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.40838,
"c": 0.13177,
"h": 262.1
},
"luminance": 0.06561
}Semantic roles & 50–950 ramp
primary
#1F4590
secondary
#BC974E
accent
#AF40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80