#1F107F#1F107F
#1F107F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.169 H 275.1°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).
Color values
| HEX | #1F107F |
|---|---|
| RGB | rgb(31, 16, 127) |
| HSL | hsl(248, 78%, 28%) |
| HSV | hsv(248, 87%, 50%) |
| CMYK | cmyk(75.6%, 87.4%, 0%, 50.2%) |
| CIE-LAB | lab(16.47, 41.98, -58.19) |
| CIE-LCH | lch(16.47, 71.75, 305.81°) |
| OKLab | oklab(29.89% 0.0149 -0.1682) |
| OKLCH | oklch(29.89% 0.169 275.1) |
| XYZ | xyz(4.5799, 2.1937, 20.2566) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.97
Darkblue
#00008B
ΔE00 3.12
Royal
#0C1793
ΔE00 3.32
Deep Blue
#040273
ΔE00 3.37
Dark Royal Blue
#02066F
ΔE00 3.48
Midnight Blue
#191970
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F107F #707F10
analogous
#10387F #1F107F #56107F
triadic
#1F107F #7F1F10 #107F1F
tetradic
#1F107F #7F1038 #707F10 #107F56
square
#1F107F #7F1038 #707F10 #107F56
split-complementary
#1F107F #7F5610 #387F10
monochromatic
#07031B #120949 #1F107F #2C17B5 #3F26E4
Accessibility & contrast
On white
14.60
#1F107F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1F107F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F107F
14.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F107F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F107F | 1.00 | 14.60 | 1.44 | 14.60 |
| #FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1f107f; /* rgb */ color: rgb(31, 16, 127); /* oklch */ color: oklch(29.9% 0.169 275.1);
Tailwind
colors: {
custom: {
50: '#6d53a5',
500: '#1f107f',
950: '#000000',
},
}SCSS
$custom: #1f107f; $custom-light: #6d53a5; $custom-dark: #000000;
JSON
{
"hex": "#1f107f",
"rgb": {
"r": 31,
"g": 16,
"b": 127
},
"hsl": {
"h": 248.108,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.29885,
"c": 0.16884,
"h": 275.1
},
"luminance": 0.02194
}Semantic roles & 50–950 ramp
primary
#1F107F
secondary
#A4B536
accent
#F434DA
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F