#1F109F#1F109F
#1F109F is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 34.0% C 0.206 H 271.5°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1F109F |
|---|---|
| RGB | rgb(31, 16, 159) |
| HSL | hsl(246, 82%, 34%) |
| HSV | hsv(246, 90%, 62%) |
| CMYK | cmyk(80.5%, 89.9%, 0%, 37.6%) |
| CIE-LAB | lab(20.69, 51.50, -71.13) |
| CIE-LCH | lch(20.69, 87.82, 305.90°) |
| OKLab | oklab(33.96% 0.0052 -0.2056) |
| OKLCH | oklch(33.96% 0.206 271.5) |
| XYZ | xyz(7.0063, 3.1643, 33.0357) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 1.48
Royal Blue (survey)
#0504AA
ΔE00 1.88
Royal
#0C1793
ΔE00 2.43
Ultramarine
#2000B1
ΔE00 2.56
Indigo Blue
#3A18B1
ΔE00 3.93
Darkblue
#00008B
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F109F #909F10
analogous
#10489F #1F109F #67109F
triadic
#1F109F #9F1F10 #109F1F
tetradic
#1F109F #9F1048 #909F10 #109F67
square
#1F109F #9F1048 #909F10 #109F67
split-complementary
#1F109F #9F6710 #489F10
monochromatic
#090530 #140A67 #1F109F #2A16D7 #503EEC
Accessibility & contrast
On white
12.86
#1F109F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1F109F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F109F
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F109F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F109F | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0038A3
Deuteranopia (green-blind)
#002B9D
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1f109f; /* rgb */ color: rgb(31, 16, 159); /* oklch */ color: oklch(34.0% 0.206 271.5);
Tailwind
colors: {
custom: {
50: '#7556bd',
500: '#1f109f',
950: '#000000',
},
}SCSS
$custom: #1f109f; $custom-light: #7556bd; $custom-dark: #000000;
JSON
{
"hex": "#1f109f",
"rgb": {
"r": 31,
"g": 16,
"b": 159
},
"hsl": {
"h": 246.294,
"s": 81.714,
"l": 34.314
},
"oklch": {
"l": 0.33956,
"c": 0.20571,
"h": 271.5
},
"luminance": 0.03165
}Semantic roles & 50–950 ramp
primary
#1F109F
secondary
#BCCB40
accent
#F830E3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881