#1F2983#1F2983
#1F2983 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.149 H 270.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2983 |
|---|---|
| RGB | rgb(31, 41, 131) |
| HSL | hsl(234, 62%, 32%) |
| HSV | hsv(234, 76%, 51%) |
| CMYK | cmyk(76.3%, 68.7%, 0%, 48.6%) |
| CIE-LAB | lab(22.00, 29.06, -51.59) |
| CIE-LCH | lch(22.00, 59.21, 299.39°) |
| OKLab | oklab(33.93% 0.0022 -0.1492) |
| OKLCH | oklch(33.93% 0.149 270.8) |
| XYZ | xyz(5.4534, 3.5153, 21.8594) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.83
Royal
#0C1793
ΔE00 5.37
Sapphire (survey)
#2138AB
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 7.54
Blueberry
#464196
ΔE00 8.04
Cobalt Blue
#030AA7
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2983 #83791F
analogous
#1F5B83 #1F2983 #471F83
triadic
#1F2983 #831F29 #29831F
tetradic
#1F2983 #831F5B #83791F #1F8347
square
#1F2983 #831F5B #83791F #1F8347
split-complementary
#1F2983 #83471F #5B831F
monochromatic
#080A20 #131A52 #1F2983 #2B38B4 #4956D4
Accessibility & contrast
On white
12.33
#1F2983 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#1F2983 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2983
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2983 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2983 | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1f2983; /* rgb */ color: rgb(31, 41, 131); /* oklch */ color: oklch(33.9% 0.149 270.8);
Tailwind
colors: {
custom: {
50: '#6b63a8',
500: '#1f2983',
950: '#000000',
},
}SCSS
$custom: #1f2983; $custom-light: #6b63a8; $custom-dark: #000000;
JSON
{
"hex": "#1f2983",
"rgb": {
"r": 31,
"g": 41,
"b": 131
},
"hsl": {
"h": 234,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.33933,
"c": 0.14924,
"h": 270.8
},
"luminance": 0.03516
}Semantic roles & 50–950 ramp
primary
#1F2983
secondary
#B6AB48
accent
#D543E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F