#1F2283#1F2283
#1F2283 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.157 H 272.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2283 |
|---|---|
| RGB | rgb(31, 34, 131) |
| HSL | hsl(238, 62%, 32%) |
| HSV | hsv(238, 76%, 51%) |
| CMYK | cmyk(76.3%, 74%, 0%, 48.6%) |
| CIE-LAB | lab(20.34, 33.59, -54.33) |
| CIE-LCH | lch(20.34, 63.87, 301.72°) |
| OKLab | oklab(32.73% 0.0063 -0.1572) |
| OKLCH | oklch(32.73% 0.157 272.3) |
| XYZ | xyz(5.2325, 3.0735, 21.7858) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.46
Royal
#0C1793
ΔE00 3.67
Darkblue
#00008B
ΔE00 6.48
Cobalt Blue
#030AA7
ΔE00 6.59
Dark Royal Blue
#02066F
ΔE00 6.59
Navy
#000080
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2283 #83801F
analogous
#1F5483 #1F2283 #4E1F83
triadic
#1F2283 #831F22 #22831F
tetradic
#1F2283 #831F54 #83801F #1F834E
square
#1F2283 #831F54 #83801F #1F834E
split-complementary
#1F2283 #834E1F #54831F
monochromatic
#080820 #131552 #1F2283 #2B2FB4 #494DD4
Accessibility & contrast
On white
13.00
#1F2283 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1F2283 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2283
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2283 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2283 | 1.00 | 13.00 | 1.61 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1f2283; /* rgb */ color: rgb(31, 34, 131); /* oklch */ color: oklch(32.7% 0.157 272.3);
Tailwind
colors: {
custom: {
50: '#6c5ea8',
500: '#1f2283',
950: '#000000',
},
}SCSS
$custom: #1f2283; $custom-light: #6c5ea8; $custom-dark: #000000;
JSON
{
"hex": "#1f2283",
"rgb": {
"r": 31,
"g": 34,
"b": 131
},
"hsl": {
"h": 238.2,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.32732,
"c": 0.15734,
"h": 272.3
},
"luminance": 0.03074
}Semantic roles & 50–950 ramp
primary
#1F2283
secondary
#B6B248
accent
#E043E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F