#1F2185#1F2185
#1F2185 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.161 H 272.3°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2185 |
|---|---|
| RGB | rgb(31, 33, 133) |
| HSL | hsl(239, 62%, 32%) |
| HSV | hsv(239, 77%, 52%) |
| CMYK | cmyk(76.7%, 75.2%, 0%, 47.8%) |
| CIE-LAB | lab(20.33, 34.92, -55.60) |
| CIE-LCH | lch(20.33, 65.66, 302.13°) |
| OKLab | oklab(32.79% 0.0065 -0.1609) |
| OKLCH | oklch(32.79% 0.161 272.3) |
| XYZ | xyz(5.3411, 3.0719, 22.4972) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.23
Midnight Blue
#191970
ΔE00 3.60
Darkblue
#00008B
ΔE00 6.11
Cobalt Blue
#030AA7
ΔE00 6.15
Navy
#000080
ΔE00 6.39
Dark Royal Blue
#02066F
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2185 #85831F
analogous
#1F5485 #1F2185 #501F85
triadic
#1F2185 #851F21 #21851F
tetradic
#1F2185 #851F54 #85831F #1F8550
square
#1F2185 #851F54 #85831F #1F8550
split-complementary
#1F2185 #85501F #54851F
monochromatic
#080822 #131553 #1F2185 #2B2DB7 #4A4CD5
Accessibility & contrast
On white
13.01
#1F2185 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1F2185 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2185
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2185 | 1.00 | 13.01 | 1.61 | 13.01 |
| #FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1f2185; /* rgb */ color: rgb(31, 33, 133); /* oklch */ color: oklch(32.8% 0.161 272.3);
Tailwind
colors: {
custom: {
50: '#6d5daa',
500: '#1f2185',
950: '#000000',
},
}SCSS
$custom: #1f2185; $custom-light: #6d5daa; $custom-dark: #000000;
JSON
{
"hex": "#1f2185",
"rgb": {
"r": 31,
"g": 33,
"b": 133
},
"hsl": {
"h": 238.824,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.32792,
"c": 0.16104,
"h": 272.3
},
"luminance": 0.03072
}Semantic roles & 50–950 ramp
primary
#1F2185
secondary
#B7B549
accent
#E243E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F