#1F1A6F#1F1A6F
#1F1A6F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.140 H 276.0°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1A6F |
|---|---|
| RGB | rgb(31, 26, 111) |
| HSL | hsl(244, 62%, 27%) |
| HSV | hsv(244, 77%, 44%) |
| CMYK | cmyk(72.1%, 76.6%, 0%, 56.5%) |
| CIE-LAB | lab(16.39, 31.39, -48.03) |
| CIE-LCH | lch(16.39, 57.38, 303.17°) |
| OKLab | oklab(29.27% 0.0146 -0.1388) |
| OKLCH | oklch(29.27% 0.14 276) |
| XYZ | xyz(3.8028, 2.1774, 15.2557) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.74
Dark Royal Blue
#02066F
ΔE00 4.56
Darkblue (survey)
#030764
ΔE00 4.61
Deep Blue
#040273
ΔE00 5.21
Royal
#0C1793
ΔE00 5.67
Dark Indigo
#1F0954
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1A6F #6A6F1A
analogous
#1A406F #1F1A6F #4A1A6F
triadic
#1F1A6F #6F1F1A #1A6F1F
tetradic
#1F1A6F #6F1A40 #6A6F1A #1A6F4A
square
#1F1A6F #6F1A40 #6A6F1A #1A6F4A
split-complementary
#1F1A6F #6F4A1A #406F1A
monochromatic
#070619 #110E3D #1F1A6F #2D26A1 #3D34CF
Accessibility & contrast
On white
14.63
#1F1A6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1F1A6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1A6F
14.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1A6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1A6F | 1.00 | 14.63 | 1.44 | 14.63 |
| #FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C71
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1f1a6f; /* rgb */ color: rgb(31, 26, 111); /* oklch */ color: oklch(29.3% 0.140 276.0);
Tailwind
colors: {
custom: {
50: '#685899',
500: '#1f1a6f',
950: '#000000',
},
}SCSS
$custom: #1f1a6f; $custom-light: #685899; $custom-dark: #000000;
JSON
{
"hex": "#1f1a6f",
"rgb": {
"r": 31,
"g": 26,
"b": 111
},
"hsl": {
"h": 243.529,
"s": 62.044,
"l": 26.863
},
"oklch": {
"l": 0.29271,
"c": 0.13957,
"h": 276
},
"luminance": 0.02178
}Semantic roles & 50–950 ramp
primary
#1F1A6F
secondary
#9EA441
accent
#E543DC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E