#1B169F#1B169F
#1B169F is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.3% C 0.203 H 269.9°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1B169F |
|---|---|
| RGB | rgb(27, 22, 159) |
| HSL | hsl(242, 76%, 35%) |
| HSV | hsv(242, 86%, 62%) |
| CMYK | cmyk(83%, 86.2%, 0%, 37.6%) |
| CIE-LAB | lab(21.24, 49.01, -70.22) |
| CIE-LCH | lch(21.24, 85.63, 304.91°) |
| OKLab | oklab(34.27% -0.0004 -0.2032) |
| OKLCH | oklch(34.27% 0.203 269.9) |
| XYZ | xyz(6.9948, 3.3092, 33.0642) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 1.88
Royal
#0C1793
ΔE00 1.99
Royal Blue (survey)
#0504AA
ΔE00 2.43
Ultramarine
#2000B1
ΔE00 3.12
Indigo Blue
#3A18B1
ΔE00 3.92
Darkblue
#00008B
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B169F #9A9F16
analogous
#16559F #1B169F #5F169F
triadic
#1B169F #9F1B16 #169F1B
tetradic
#1B169F #9F1655 #9A9F16 #169F5F
square
#1B169F #9F1655 #9A9F16 #169F5F
split-complementary
#1B169F #9F5F16 #559F16
monochromatic
#090733 #120F69 #1B169F #241DD5 #4F4AE6
Accessibility & contrast
On white
12.64
#1B169F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1B169F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B169F
12.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B169F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B169F | 1.00 | 12.64 | 1.66 | 12.64 |
| #FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002C9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1b169f; /* rgb */ color: rgb(27, 22, 159); /* oklch */ color: oklch(34.3% 0.203 269.9);
Tailwind
colors: {
custom: {
50: '#7359bd',
500: '#1b169f',
950: '#000000',
},
}SCSS
$custom: #1b169f; $custom-light: #7359bd; $custom-dark: #000000;
JSON
{
"hex": "#1b169f",
"rgb": {
"r": 27,
"g": 22,
"b": 159
},
"hsl": {
"h": 242.19,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.34272,
"c": 0.20319,
"h": 269.9
},
"luminance": 0.0331
}Semantic roles & 50–950 ramp
primary
#1B169F
secondary
#C3C74A
accent
#F236EB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981