#1F3594#1F3594
#1F3594 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.158 H 267.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3594 |
|---|---|
| RGB | rgb(31, 53, 148) |
| HSL | hsl(229, 65%, 35%) |
| HSV | hsv(229, 79%, 58%) |
| CMYK | cmyk(79.1%, 64.2%, 0%, 42%) |
| CIE-LAB | lab(26.66, 27.49, -54.52) |
| CIE-LCH | lch(26.66, 61.06, 296.76°) |
| OKLab | oklab(37.84% -0.0063 -0.1577) |
| OKLCH | oklch(37.84% 0.158 267.7) |
| XYZ | xyz(7.1816, 4.9748, 28.5930) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.38
Blueberry
#464196
ΔE00 5.83
Darkslateblue
#483D8B
ΔE00 6.53
Cobalt
#0047AB
ΔE00 6.74
Cobalt (survey)
#1E488F
ΔE00 7.09
Darkish Blue
#014182
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3594 #947E1F
analogous
#1F6F94 #1F3594 #441F94
triadic
#1F3594 #941F35 #35941F
tetradic
#1F3594 #941F6F #947E1F #1F9444
square
#1F3594 #941F6F #947E1F #1F9444
split-complementary
#1F3594 #94441F #6F941F
monochromatic
#0A112F #142361 #1F3594 #2A47C7 #536CDB
Accessibility & contrast
On white
10.53
#1F3594 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#1F3594 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3594
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3594 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3594 | 1.00 | 10.53 | 2.00 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1f3594; /* rgb */ color: rgb(31, 53, 148); /* oklch */ color: oklch(37.8% 0.158 267.7);
Tailwind
colors: {
custom: {
50: '#6f6cb4',
500: '#1f3594',
950: '#000000',
},
}SCSS
$custom: #1f3594; $custom-light: #6f6cb4; $custom-dark: #000000;
JSON
{
"hex": "#1f3594",
"rgb": {
"r": 31,
"g": 53,
"b": 148
},
"hsl": {
"h": 228.718,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.37844,
"c": 0.15781,
"h": 267.7
},
"luminance": 0.04976
}Semantic roles & 50–950 ramp
primary
#1F3594
secondary
#BEAA51
accent
#C93FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80