#1F2085#1F2085
#1F2085 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.162 H 272.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2085 |
|---|---|
| RGB | rgb(31, 32, 133) |
| HSL | hsl(239, 62%, 32%) |
| HSV | hsv(239, 77%, 52%) |
| CMYK | cmyk(76.7%, 75.9%, 0%, 47.8%) |
| CIE-LAB | lab(20.11, 35.53, -55.96) |
| CIE-LCH | lch(20.11, 66.28, 302.41°) |
| OKLab | oklab(32.64% 0.007 -0.1619) |
| OKLCH | oklch(32.64% 0.162 272.5) |
| XYZ | xyz(5.3138, 3.0172, 22.4881) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.05
Midnight Blue
#191970
ΔE00 3.51
Darkblue
#00008B
ΔE00 5.86
Cobalt Blue
#030AA7
ΔE00 5.97
Navy
#000080
ΔE00 6.13
Dark Royal Blue
#02066F
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2085 #85841F
analogous
#1F5385 #1F2085 #511F85
triadic
#1F2085 #851F20 #20851F
tetradic
#1F2085 #851F53 #85841F #1F8551
square
#1F2085 #851F53 #85841F #1F8551
split-complementary
#1F2085 #85511F #53851F
monochromatic
#080822 #131453 #1F2085 #2B2CB7 #4A4BD5
Accessibility & contrast
On white
13.10
#1F2085 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1F2085 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2085
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2085 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2085 | 1.00 | 13.10 | 1.60 | 13.10 |
| #FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1f2085; /* rgb */ color: rgb(31, 32, 133); /* oklch */ color: oklch(32.6% 0.162 272.5);
Tailwind
colors: {
custom: {
50: '#6d5daa',
500: '#1f2085',
950: '#000000',
},
}SCSS
$custom: #1f2085; $custom-light: #6d5daa; $custom-dark: #000000;
JSON
{
"hex": "#1f2085",
"rgb": {
"r": 31,
"g": 32,
"b": 133
},
"hsl": {
"h": 239.412,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.32637,
"c": 0.16209,
"h": 272.5
},
"luminance": 0.03018
}Semantic roles & 50–950 ramp
primary
#1F2085
secondary
#B7B649
accent
#E443E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F