#1B1775#1B1775
#1B1775 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.152 H 273.6°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1775 |
|---|---|
| RGB | rgb(27, 23, 117) |
| HSL | hsl(243, 67%, 27%) |
| HSV | hsv(243, 80%, 46%) |
| CMYK | cmyk(76.9%, 80.3%, 0%, 54.1%) |
| CIE-LAB | lab(16.15, 34.86, -52.32) |
| CIE-LCH | lch(16.15, 62.87, 303.68°) |
| OKLab | oklab(29.23% 0.0094 -0.1514) |
| OKLCH | oklch(29.23% 0.152 273.6) |
| XYZ | xyz(3.9682, 2.1298, 17.0281) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.14
Dark Royal Blue
#02066F
ΔE00 3.65
Deep Blue
#040273
ΔE00 4.16
Darkblue (survey)
#030764
ΔE00 4.22
Royal
#0C1793
ΔE00 4.48
Navy
#000080
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1775 #717517
analogous
#174275 #1B1775 #4A1775
triadic
#1B1775 #751B17 #17751B
tetradic
#1B1775 #751742 #717517 #17754A
square
#1B1775 #751742 #717517 #17754A
split-complementary
#1B1775 #754A17 #427517
monochromatic
#06051A #0F0D42 #1B1775 #2721A8 #3730D6
Accessibility & contrast
On white
14.73
#1B1775 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1B1775 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1775
14.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1775 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1775 | 1.00 | 14.73 | 1.43 | 14.73 |
| #FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1b1775; /* rgb */ color: rgb(27, 23, 117); /* oklch */ color: oklch(29.2% 0.152 273.6);
Tailwind
colors: {
custom: {
50: '#68569e',
500: '#1b1775',
950: '#000000',
},
}SCSS
$custom: #1b1775; $custom-light: #68569e; $custom-dark: #000000;
JSON
{
"hex": "#1b1775",
"rgb": {
"r": 27,
"g": 23,
"b": 117
},
"hsl": {
"h": 242.553,
"s": 67.143,
"l": 27.451
},
"oklch": {
"l": 0.29229,
"c": 0.15165,
"h": 273.6
},
"luminance": 0.0213
}Semantic roles & 50–950 ramp
primary
#1B1775
secondary
#A6AA3D
accent
#EA3EE3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E