#1B107E#1B107E
#1B107E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.169 H 273.2°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1B107E |
|---|---|
| RGB | rgb(27, 16, 126) |
| HSL | hsl(246, 77%, 28%) |
| HSV | hsv(246, 87%, 49%) |
| CMYK | cmyk(78.6%, 87.3%, 0%, 50.6%) |
| CIE-LAB | lab(16.05, 41.40, -58.26) |
| CIE-LCH | lch(16.05, 71.47, 305.40°) |
| OKLab | oklab(29.48% 0.0095 -0.1685) |
| OKLCH | oklch(29.48% 0.169 273.2) |
| XYZ | xyz(4.4019, 2.1095, 19.9098) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.81
Darkblue
#00008B
ΔE00 3.08
Deep Blue
#040273
ΔE00 3.13
Dark Royal Blue
#02066F
ΔE00 3.18
Midnight Blue
#191970
ΔE00 3.32
Royal
#0C1793
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B107E #737E10
analogous
#103C7E #1B107E #52107E
triadic
#1B107E #7E1B10 #107E1B
tetradic
#1B107E #7E103C #737E10 #107E52
square
#1B107E #7E103C #737E10 #107E52
split-complementary
#1B107E #7E5210 #3C7E10
monochromatic
#06031B #0F0948 #1B107E #2717B4 #3825E3
Accessibility & contrast
On white
14.77
#1B107E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1B107E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B107E
14.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B107E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B107E | 1.00 | 14.77 | 1.42 | 14.77 |
| #FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1b107e; /* rgb */ color: rgb(27, 16, 126); /* oklch */ color: oklch(29.5% 0.169 273.2);
Tailwind
colors: {
custom: {
50: '#6b53a5',
500: '#1b107e',
950: '#000000',
},
}SCSS
$custom: #1b107e; $custom-light: #6b53a5; $custom-dark: #000000;
JSON
{
"hex": "#1b107e",
"rgb": {
"r": 27,
"g": 16,
"b": 126
},
"hsl": {
"h": 246,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.29483,
"c": 0.16874,
"h": 273.2
},
"luminance": 0.0211
}Semantic roles & 50–950 ramp
primary
#1B107E
secondary
#A8B436
accent
#F434E1
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F