#1B1972#1B1972
#1B1972 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.146 H 273.6°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1972 |
|---|---|
| RGB | rgb(27, 25, 114) |
| HSL | hsl(241, 64%, 27%) |
| HSV | hsv(241, 78%, 45%) |
| CMYK | cmyk(76.3%, 78.1%, 0%, 55.3%) |
| CIE-LAB | lab(16.22, 32.63, -50.27) |
| CIE-LCH | lch(16.22, 59.93, 302.99°) |
| OKLab | oklab(29.17% 0.0091 -0.1454) |
| OKLCH | oklch(29.17% 0.146 273.6) |
| XYZ | xyz(3.8359, 2.1428, 16.1278) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.41
Dark Royal Blue
#02066F
ΔE00 4.12
Darkblue (survey)
#030764
ΔE00 4.40
Deep Blue
#040273
ΔE00 4.75
Royal
#0C1793
ΔE00 5.05
Navy
#000080
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1972 #707219
analogous
#194472 #1B1972 #471972
triadic
#1B1972 #721B19 #19721B
tetradic
#1B1972 #721944 #707219 #197247
square
#1B1972 #721944 #707219 #197247
split-complementary
#1B1972 #724719 #447219
monochromatic
#060619 #0F0E40 #1B1972 #2724A4 #3733D2
Accessibility & contrast
On white
14.70
#1B1972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1B1972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1972
14.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1972 | 1.00 | 14.70 | 1.43 | 14.70 |
| #FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1b1972; /* rgb */ color: rgb(27, 25, 114); /* oklch */ color: oklch(29.2% 0.146 273.6);
Tailwind
colors: {
custom: {
50: '#67579c',
500: '#1b1972',
950: '#000000',
},
}SCSS
$custom: #1b1972; $custom-light: #67579c; $custom-dark: #000000;
JSON
{
"hex": "#1b1972",
"rgb": {
"r": 27,
"g": 25,
"b": 114
},
"hsl": {
"h": 241.348,
"s": 64.029,
"l": 27.255
},
"oklch": {
"l": 0.29172,
"c": 0.14572,
"h": 273.6
},
"luminance": 0.02143
}Semantic roles & 50–950 ramp
primary
#1B1972
secondary
#A5A740
accent
#E741E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E