#1B168F#1B168F
#1B168F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.185 H 271.1°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1B168F |
|---|---|
| RGB | rgb(27, 22, 143) |
| HSL | hsl(242, 73%, 32%) |
| HSV | hsv(242, 85%, 56%) |
| CMYK | cmyk(81.1%, 84.6%, 0%, 43.9%) |
| CIE-LAB | lab(19.18, 44.02, -63.77) |
| CIE-LCH | lch(19.18, 77.49, 304.61°) |
| OKLab | oklab(32.27% 0.0035 -0.1846) |
| OKLCH | oklch(32.27% 0.185 271.1) |
| XYZ | xyz(5.6952, 2.7894, 26.2195) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.99
Cobalt Blue
#030AA7
ΔE00 3.46
Darkblue
#00008B
ΔE00 3.52
Royal Blue (survey)
#0504AA
ΔE00 4.00
Navy
#000080
ΔE00 4.35
Indigo (survey)
#380282
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B168F #8A8F16
analogous
#164E8F #1B168F #57168F
triadic
#1B168F #8F1B16 #168F1B
tetradic
#1B168F #8F164E #8A8F16 #168F57
square
#1B168F #8F164E #8A8F16 #168F57
split-complementary
#1B168F #8F5716 #4E8F16
monochromatic
#070625 #110E5A #1B168F #251EC4 #453EE1
Accessibility & contrast
On white
13.48
#1B168F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1B168F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B168F
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B168F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B168F | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b168f; /* rgb */ color: rgb(27, 22, 143); /* oklch */ color: oklch(32.3% 0.185 271.1);
Tailwind
colors: {
custom: {
50: '#6f57b1',
500: '#1b168f',
950: '#000000',
},
}SCSS
$custom: #1b168f; $custom-light: #6f57b1; $custom-dark: #000000;
JSON
{
"hex": "#1b168f",
"rgb": {
"r": 27,
"g": 22,
"b": 143
},
"hsl": {
"h": 242.479,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.32265,
"c": 0.18459,
"h": 271.1
},
"luminance": 0.0279
}Semantic roles & 50–950 ramp
primary
#1B168F
secondary
#BCC13F
accent
#F038E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880