#1F108D#1F108D
#1F108D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.185 H 273.2°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1F108D |
|---|---|
| RGB | rgb(31, 16, 141) |
| HSL | hsl(247, 80%, 31%) |
| HSV | hsv(247, 89%, 55%) |
| CMYK | cmyk(78%, 88.7%, 0%, 44.7%) |
| CIE-LAB | lab(18.30, 46.23, -63.99) |
| CIE-LCH | lch(18.30, 78.94, 305.85°) |
| OKLab | oklab(31.65% 0.0105 -0.185) |
| OKLCH | oklch(31.65% 0.185 273.2) |
| XYZ | xyz(5.5565, 2.5844, 25.4001) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.92
Darkblue
#00008B
ΔE00 2.70
Cobalt Blue
#030AA7
ΔE00 3.49
Navy
#000080
ΔE00 3.55
Indigo (survey)
#380282
ΔE00 3.85
Royal Blue (survey)
#0504AA
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F108D #7E8D10
analogous
#103F8D #1F108D #5D108D
triadic
#1F108D #8D1F10 #108D1F
tetradic
#1F108D #8D103F #7E8D10 #108D5D
square
#1F108D #8D103F #7E8D10 #108D5D
split-complementary
#1F108D #8D5D10 #3F8D10
monochromatic
#07041F #130A56 #1F108D #2B16C4 #4630E7
Accessibility & contrast
On white
13.84
#1F108D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1F108D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F108D
13.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F108D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F108D | 1.00 | 13.84 | 1.52 | 13.84 |
| #FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003290
Deuteranopia (green-blind)
#00278B
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1f108d; /* rgb */ color: rgb(31, 16, 141); /* oklch */ color: oklch(31.7% 0.185 273.2);
Tailwind
colors: {
custom: {
50: '#7055b0',
500: '#1f108d',
950: '#000000',
},
}SCSS
$custom: #1f108d; $custom-light: #7055b0; $custom-dark: #000000;
JSON
{
"hex": "#1f108d",
"rgb": {
"r": 31,
"g": 16,
"b": 141
},
"hsl": {
"h": 247.2,
"s": 79.618,
"l": 30.784
},
"oklch": {
"l": 0.31652,
"c": 0.18528,
"h": 273.2
},
"luminance": 0.02585
}Semantic roles & 50–950 ramp
primary
#1F108D
secondary
#B1C237
accent
#F632DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880