#1F2285#1F2285
#1F2285 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.160 H 272.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2285 |
|---|---|
| RGB | rgb(31, 34, 133) |
| HSL | hsl(238, 62%, 32%) |
| HSV | hsv(238, 77%, 52%) |
| CMYK | cmyk(76.7%, 74.4%, 0%, 47.8%) |
| CIE-LAB | lab(20.55, 34.30, -55.24) |
| CIE-LCH | lch(20.55, 65.02, 301.84°) |
| OKLab | oklab(32.95% 0.006 -0.1598) |
| OKLCH | oklch(32.95% 0.16 272.1) |
| XYZ | xyz(5.3693, 3.1283, 22.5066) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.44
Midnight Blue
#191970
ΔE00 3.70
Cobalt Blue
#030AA7
ΔE00 6.33
Darkblue
#00008B
ΔE00 6.37
Navy
#000080
ΔE00 6.65
Dark Royal Blue
#02066F
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2285 #85821F
analogous
#1F5585 #1F2285 #4F1F85
triadic
#1F2285 #851F22 #22851F
tetradic
#1F2285 #851F55 #85821F #1F854F
square
#1F2285 #851F55 #85821F #1F854F
split-complementary
#1F2285 #854F1F #55851F
monochromatic
#080922 #131553 #1F2285 #2B2FB7 #4A4ED5
Accessibility & contrast
On white
12.92
#1F2285 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1F2285 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2285
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2285 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2285 | 1.00 | 12.92 | 1.63 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1f2285; /* rgb */ color: rgb(31, 34, 133); /* oklch */ color: oklch(32.9% 0.160 272.1);
Tailwind
colors: {
custom: {
50: '#6d5eaa',
500: '#1f2285',
950: '#000000',
},
}SCSS
$custom: #1f2285; $custom-light: #6d5eaa; $custom-dark: #000000;
JSON
{
"hex": "#1f2285",
"rgb": {
"r": 31,
"g": 34,
"b": 133
},
"hsl": {
"h": 238.235,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.32949,
"c": 0.15996,
"h": 272.1
},
"luminance": 0.03129
}Semantic roles & 50–950 ramp
primary
#1F2285
secondary
#B7B449
accent
#E043E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F