#1F106C#1F106C
#1F106C is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.5% C 0.146 H 278.3°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1F106C |
|---|---|
| RGB | rgb(31, 16, 108) |
| HSL | hsl(250, 74%, 24%) |
| HSV | hsv(250, 85%, 42%) |
| CMYK | cmyk(71.3%, 85.2%, 0%, 57.6%) |
| CIE-LAB | lab(14.08, 35.98, -49.89) |
| CIE-LCH | lch(14.08, 61.51, 305.80°) |
| OKLab | oklab(27.55% 0.0211 -0.1441) |
| OKLCH | oklch(27.55% 0.146 278.3) |
| XYZ | xyz(3.4563, 1.7443, 14.3390) |
| Luminance | 0.0175 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.47
Dark Royal Blue
#02066F
ΔE00 2.82
Darkblue (survey)
#030764
ΔE00 2.93
Deep Blue
#040273
ΔE00 3.35
Dark Blue
#00035B
ΔE00 4.22
Dark Indigo
#1F0954
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F106C #5D6C10
analogous
#102F6C #1F106C #4D106C
triadic
#1F106C #6C1F10 #106C1F
tetradic
#1F106C #6C102F #5D6C10 #106C4D
square
#1F106C #6C102F #5D6C10 #106C4D
split-complementary
#1F106C #6C4D10 #2F6C10
monochromatic
#08041B #100837 #1F106C #2E18A1 #3E20D7
Accessibility & contrast
On white
15.57
#1F106C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#1F106C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F106C
15.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F106C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F106C | 1.00 | 15.57 | 1.35 | 15.57 |
| #FFFFFF | 15.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00276F
Deuteranopia (green-blind)
#00206A
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #1f106c; /* rgb */ color: rgb(31, 16, 108); /* oklch */ color: oklch(27.5% 0.146 278.3);
Tailwind
colors: {
custom: {
50: '#685297',
500: '#1f106c',
950: '#000000',
},
}SCSS
$custom: #1f106c; $custom-light: #685297; $custom-dark: #000000;
JSON
{
"hex": "#1f106c",
"rgb": {
"r": 31,
"g": 16,
"b": 108
},
"hsl": {
"h": 249.783,
"s": 74.194,
"l": 24.314
},
"oklch": {
"l": 0.27548,
"c": 0.14562,
"h": 278.3
},
"luminance": 0.01745
}Semantic roles & 50–950 ramp
primary
#1F106C
secondary
#92A434
accent
#F137D3
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E