#1B168B#1B168B
#1B168B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.180 H 271.4°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1B168B |
|---|---|
| RGB | rgb(27, 22, 139) |
| HSL | hsl(243, 73%, 32%) |
| HSV | hsv(243, 84%, 55%) |
| CMYK | cmyk(80.6%, 84.2%, 0%, 45.5%) |
| CIE-LAB | lab(18.67, 42.74, -62.12) |
| CIE-LCH | lch(18.67, 75.40, 304.53°) |
| OKLab | oklab(31.77% 0.0044 -0.1798) |
| OKLCH | oklch(31.77% 0.18 271.4) |
| XYZ | xyz(5.3975, 2.6703, 24.6520) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.35
Darkblue
#00008B
ΔE00 3.47
Cobalt Blue
#030AA7
ΔE00 3.98
Navy
#000080
ΔE00 4.09
Midnight Blue
#191970
ΔE00 4.39
Royal Blue (survey)
#0504AA
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B168B #868B16
analogous
#164C8B #1B168B #56168B
triadic
#1B168B #8B1B16 #168B1B
tetradic
#1B168B #8B164C #868B16 #168B56
square
#1B168B #8B164C #868B16 #168B56
split-complementary
#1B168B #8B5616 #4C8B16
monochromatic
#060521 #110E56 #1B168B #251EC0 #423BE0
Accessibility & contrast
On white
13.69
#1B168B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1B168B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B168B
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B168B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B168B | 1.00 | 13.69 | 1.53 | 13.69 |
| #FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002789
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1b168b; /* rgb */ color: rgb(27, 22, 139); /* oklch */ color: oklch(31.8% 0.180 271.4);
Tailwind
colors: {
custom: {
50: '#6e57ae',
500: '#1b168b',
950: '#000000',
},
}SCSS
$custom: #1b168b; $custom-light: #6e57ae; $custom-dark: #000000;
JSON
{
"hex": "#1b168b",
"rgb": {
"r": 27,
"g": 22,
"b": 139
},
"hsl": {
"h": 242.564,
"s": 72.671,
"l": 31.569
},
"oklch": {
"l": 0.31768,
"c": 0.17982,
"h": 271.4
},
"luminance": 0.02671
}Semantic roles & 50–950 ramp
primary
#1B168B
secondary
#B9BF3E
accent
#EF38E8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F