#1B1875#1B1875
#1B1875 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.151 H 273.4°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1875 |
|---|---|
| RGB | rgb(27, 24, 117) |
| HSL | hsl(242, 66%, 28%) |
| HSV | hsv(242, 79%, 46%) |
| CMYK | cmyk(76.9%, 79.5%, 0%, 54.1%) |
| CIE-LAB | lab(16.36, 34.28, -51.98) |
| CIE-LCH | lch(16.36, 62.27, 303.41°) |
| OKLab | oklab(29.37% 0.009 -0.1504) |
| OKLCH | oklch(29.37% 0.151 273.4) |
| XYZ | xyz(3.9884, 2.1702, 17.0349) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.99
Dark Royal Blue
#02066F
ΔE00 3.87
Darkblue (survey)
#030764
ΔE00 4.38
Deep Blue
#040273
ΔE00 4.40
Royal
#0C1793
ΔE00 4.51
Navy
#000080
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1875 #727518
analogous
#184475 #1B1875 #491875
triadic
#1B1875 #751B18 #18751B
tetradic
#1B1875 #751844 #727518 #187549
square
#1B1875 #751844 #727518 #187549
split-complementary
#1B1875 #754918 #447518
monochromatic
#060519 #0F0E42 #1B1875 #2722A8 #3832D5
Accessibility & contrast
On white
14.64
#1B1875 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1B1875 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1875
14.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1875 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1875 | 1.00 | 14.64 | 1.43 | 14.64 |
| #FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1b1875; /* rgb */ color: rgb(27, 24, 117); /* oklch */ color: oklch(29.4% 0.151 273.4);
Tailwind
colors: {
custom: {
50: '#68579e',
500: '#1b1875',
950: '#000000',
},
}SCSS
$custom: #1b1875; $custom-light: #68579e; $custom-dark: #000000;
JSON
{
"hex": "#1b1875",
"rgb": {
"r": 27,
"g": 24,
"b": 117
},
"hsl": {
"h": 241.935,
"s": 65.957,
"l": 27.647
},
"oklch": {
"l": 0.29371,
"c": 0.15067,
"h": 273.4
},
"luminance": 0.02171
}Semantic roles & 50–950 ramp
primary
#1B1875
secondary
#A7AA3F
accent
#E93FE3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E