#1B1B72#1B1B72
#1B1B72 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.144 H 273.2°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1B72 |
|---|---|
| RGB | rgb(27, 27, 114) |
| HSL | hsl(240, 62%, 28%) |
| HSV | hsv(240, 76%, 45%) |
| CMYK | cmyk(76.3%, 76.3%, 0%, 55.3%) |
| CIE-LAB | lab(16.66, 31.40, -49.55) |
| CIE-LCH | lch(16.66, 58.66, 302.36°) |
| OKLab | oklab(29.48% 0.0081 -0.1433) |
| OKLCH | oklch(29.48% 0.144 273.2) |
| XYZ | xyz(3.8802, 2.2314, 16.1425) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.56
Dark Royal Blue
#02066F
ΔE00 4.63
Darkblue (survey)
#030764
ΔE00 4.83
Royal
#0C1793
ΔE00 5.19
Deep Blue
#040273
ΔE00 5.27
Navy
#000080
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1B72 #72721B
analogous
#1B4672 #1B1B72 #461B72
triadic
#1B1B72 #721B1B #1B721B
tetradic
#1B1B72 #721B46 #72721B #1B7246
square
#1B1B72 #721B46 #72721B #1B7246
split-complementary
#1B1B72 #72461B #46721B
monochromatic
#060619 #0F0F41 #1B1B72 #2727A3 #3838D0
Accessibility & contrast
On white
14.52
#1B1B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1B1B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1B72
14.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1B72 | 1.00 | 14.52 | 1.45 | 14.52 |
| #FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1b1b72; /* rgb */ color: rgb(27, 27, 114); /* oklch */ color: oklch(29.5% 0.144 273.2);
Tailwind
colors: {
custom: {
50: '#67589c',
500: '#1b1b72',
950: '#000000',
},
}SCSS
$custom: #1b1b72; $custom-light: #67589c; $custom-dark: #000000;
JSON
{
"hex": "#1b1b72",
"rgb": {
"r": 27,
"g": 27,
"b": 114
},
"hsl": {
"h": 240,
"s": 61.702,
"l": 27.647
},
"oklch": {
"l": 0.29483,
"c": 0.14357,
"h": 273.2
},
"luminance": 0.02232
}Semantic roles & 50–950 ramp
primary
#1B1B72
secondary
#A7A742
accent
#E543E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E