#1B1A7B#1B1A7B
#1B1A7B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.156 H 272.5°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1A7B |
|---|---|
| RGB | rgb(27, 26, 123) |
| HSL | hsl(241, 65%, 29%) |
| HSV | hsv(241, 79%, 48%) |
| CMYK | cmyk(78%, 78.9%, 0%, 51.8%) |
| CIE-LAB | lab(17.47, 35.21, -54.00) |
| CIE-LCH | lch(17.47, 64.46, 303.11°) |
| OKLab | oklab(30.36% 0.0068 -0.1563) |
| OKLCH | oklch(30.36% 0.156 272.5) |
| XYZ | xyz(4.3953, 2.4014, 18.9669) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.78
Royal
#0C1793
ΔE00 3.66
Dark Royal Blue
#02066F
ΔE00 4.44
Deep Blue
#040273
ΔE00 4.84
Navy
#000080
ΔE00 4.91
Darkblue
#00008B
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1A7B #7A7B1A
analogous
#1A4A7B #1B1A7B #4C1A7B
triadic
#1B1A7B #7B1B1A #1A7B1B
tetradic
#1B1A7B #7B1A4A #7A7B1A #1A7B4C
square
#1B1A7B #7B1A4A #7A7B1A #1A7B4C
split-complementary
#1B1A7B #7B4C1A #4A7B1A
monochromatic
#060519 #100F48 #1B1A7B #2625AE #3C3AD5
Accessibility & contrast
On white
14.19
#1B1A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1B1A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1A7B
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1A7B | 1.00 | 14.19 | 1.48 | 14.19 |
| #FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1b1a7b; /* rgb */ color: rgb(27, 26, 123); /* oklch */ color: oklch(30.4% 0.156 272.5);
Tailwind
colors: {
custom: {
50: '#6958a2',
500: '#1b1a7b',
950: '#000000',
},
}SCSS
$custom: #1b1a7b; $custom-light: #6958a2; $custom-dark: #000000;
JSON
{
"hex": "#1b1a7b",
"rgb": {
"r": 27,
"g": 26,
"b": 123
},
"hsl": {
"h": 240.619,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.3036,
"c": 0.15643,
"h": 272.5
},
"luminance": 0.02402
}Semantic roles & 50–950 ramp
primary
#1B1A7B
secondary
#AEAF42
accent
#E840E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F