#1B1A7C#1B1A7C
#1B1A7C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.158 H 272.4°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1A7C |
|---|---|
| RGB | rgb(27, 26, 124) |
| HSL | hsl(241, 65%, 29%) |
| HSV | hsv(241, 79%, 49%) |
| CMYK | cmyk(78.2%, 79%, 0%, 51.4%) |
| CIE-LAB | lab(17.58, 35.57, -54.44) |
| CIE-LCH | lch(17.58, 65.03, 303.16°) |
| OKLab | oklab(30.48% 0.0066 -0.1576) |
| OKLCH | oklch(30.48% 0.158 272.4) |
| XYZ | xyz(4.4583, 2.4266, 19.2983) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.94
Royal
#0C1793
ΔE00 3.51
Dark Royal Blue
#02066F
ΔE00 4.48
Deep Blue
#040273
ΔE00 4.85
Navy
#000080
ΔE00 4.86
Darkblue
#00008B
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1A7C #7B7C1A
analogous
#1A4A7C #1B1A7C #4C1A7C
triadic
#1B1A7C #7C1B1A #1A7C1B
tetradic
#1B1A7C #7C1A4A #7B7C1A #1A7C4C
square
#1B1A7C #7C1A4A #7B7C1A #1A7C4C
split-complementary
#1B1A7C #7C4C1A #4A7C1A
monochromatic
#060519 #100F49 #1B1A7C #2625AF #3C3BD6
Accessibility & contrast
On white
14.14
#1B1A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1B1A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1A7C
14.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1A7C | 1.00 | 14.14 | 1.49 | 14.14 |
| #FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1b1a7c; /* rgb */ color: rgb(27, 26, 124); /* oklch */ color: oklch(30.5% 0.158 272.4);
Tailwind
colors: {
custom: {
50: '#6a58a3',
500: '#1b1a7c',
950: '#000000',
},
}SCSS
$custom: #1b1a7c; $custom-light: #6a58a3; $custom-dark: #000000;
JSON
{
"hex": "#1b1a7c",
"rgb": {
"r": 27,
"g": 26,
"b": 124
},
"hsl": {
"h": 240.612,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.30477,
"c": 0.15771,
"h": 272.4
},
"luminance": 0.02427
}Semantic roles & 50–950 ramp
primary
#1B1A7C
secondary
#AFB042
accent
#E840E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F