#1B107F#1B107F
#1B107F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.6% C 0.170 H 273.1°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1B107F |
|---|---|
| RGB | rgb(27, 16, 127) |
| HSL | hsl(246, 78%, 28%) |
| HSV | hsv(246, 87%, 50%) |
| CMYK | cmyk(78.7%, 87.4%, 0%, 50.2%) |
| CIE-LAB | lab(16.18, 41.72, -58.68) |
| CIE-LCH | lch(16.18, 72.00, 305.41°) |
| OKLab | oklab(29.61% 0.0092 -0.1697) |
| OKLCH | oklch(29.61% 0.17 273.1) |
| XYZ | xyz(4.4668, 2.1354, 20.2513) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.79
Darkblue
#00008B
ΔE00 2.99
Deep Blue
#040273
ΔE00 3.20
Royal
#0C1793
ΔE00 3.21
Dark Royal Blue
#02066F
ΔE00 3.29
Midnight Blue
#191970
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B107F #747F10
analogous
#103C7F #1B107F #52107F
triadic
#1B107F #7F1B10 #107F1B
tetradic
#1B107F #7F103C #747F10 #107F52
square
#1B107F #7F103C #747F10 #107F52
split-complementary
#1B107F #7F5210 #3C7F10
monochromatic
#06031B #0F0949 #1B107F #2717B5 #3926E4
Accessibility & contrast
On white
14.71
#1B107F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1B107F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B107F
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B107F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B107F | 1.00 | 14.71 | 1.43 | 14.71 |
| #FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1b107f; /* rgb */ color: rgb(27, 16, 127); /* oklch */ color: oklch(29.6% 0.170 273.1);
Tailwind
colors: {
custom: {
50: '#6b53a5',
500: '#1b107f',
950: '#000000',
},
}SCSS
$custom: #1b107f; $custom-light: #6b53a5; $custom-dark: #000000;
JSON
{
"hex": "#1b107f",
"rgb": {
"r": 27,
"g": 16,
"b": 127
},
"hsl": {
"h": 245.946,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.2961,
"c": 0.16993,
"h": 273.1
},
"luminance": 0.02136
}Semantic roles & 50–950 ramp
primary
#1B107F
secondary
#A9B536
accent
#F434E1
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F