#1F1C99#1F1C99
#1F1C99 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.191 H 271.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1C99 |
|---|---|
| RGB | rgb(31, 28, 153) |
| HSL | hsl(241, 69%, 35%) |
| HSV | hsv(241, 82%, 60%) |
| CMYK | cmyk(79.7%, 81.7%, 0%, 40%) |
| CIE-LAB | lab(21.66, 44.52, -65.84) |
| CIE-LCH | lch(21.66, 79.48, 304.06°) |
| OKLab | oklab(34.4% 0.0043 -0.1906) |
| OKLCH | oklch(34.4% 0.191 271.3) |
| XYZ | xyz(6.7282, 3.4210, 30.4365) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.73
Cobalt Blue
#030AA7
ΔE00 3.19
Royal Blue (survey)
#0504AA
ΔE00 3.77
Ultramarine
#2000B1
ΔE00 4.39
Indigo Blue
#3A18B1
ΔE00 4.42
Darkblue
#00008B
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1C99 #96991C
analogous
#1C5799 #1F1C99 #5D1C99
triadic
#1F1C99 #991F1C #1C991F
tetradic
#1F1C99 #991C57 #96991C #1C995D
square
#1F1C99 #991C57 #96991C #1C995D
split-complementary
#1F1C99 #995D1C #57991C
monochromatic
#0A0932 #151365 #1F1C99 #2925CD #5450DF
Accessibility & contrast
On white
12.47
#1F1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1F1C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1C99
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1C99 | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002D97
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1f1c99; /* rgb */ color: rgb(31, 28, 153); /* oklch */ color: oklch(34.4% 0.191 271.3);
Tailwind
colors: {
custom: {
50: '#725cb8',
500: '#1f1c99',
950: '#000000',
},
}SCSS
$custom: #1f1c99; $custom-light: #725cb8; $custom-dark: #000000;
JSON
{
"hex": "#1f1c99",
"rgb": {
"r": 31,
"g": 28,
"b": 153
},
"hsl": {
"h": 241.44,
"s": 69.061,
"l": 35.49
},
"oklch": {
"l": 0.34403,
"c": 0.19065,
"h": 271.3
},
"luminance": 0.03422
}Semantic roles & 50–950 ramp
primary
#1F1C99
secondary
#BFC24F
accent
#EC3CE8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981