#1B2A8E#1B2A8E
#1B2A8E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.164 H 268.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2A8E |
|---|---|
| RGB | rgb(27, 42, 142) |
| HSL | hsl(232, 68%, 33%) |
| HSV | hsv(232, 81%, 56%) |
| CMYK | cmyk(81%, 70.4%, 0%, 44.3%) |
| CIE-LAB | lab(23.14, 32.14, -56.60) |
| CIE-LCH | lch(23.14, 65.09, 299.59°) |
| OKLab | oklab(35.04% -0.0035 -0.1639) |
| OKLCH | oklch(35.04% 0.164 268.8) |
| XYZ | xyz(6.1608, 3.8412, 26.0027) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.81
Sapphire (survey)
#2138AB
ΔE00 5.36
Midnight Blue
#191970
ΔE00 5.96
Cobalt Blue
#030AA7
ΔE00 7.18
Indigo Blue
#3A18B1
ΔE00 7.54
Darkslateblue
#483D8B
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2A8E #8E7F1B
analogous
#1B638E #1B2A8E #451B8E
triadic
#1B2A8E #8E1B2A #2A8E1B
tetradic
#1B2A8E #8E1B63 #8E7F1B #1B8E45
square
#1B2A8E #8E1B63 #8E7F1B #1B8E45
split-complementary
#1B2A8E #8E451B #638E1B
monochromatic
#070C27 #111B5B #1B2A8E #2539C1 #475BDC
Accessibility & contrast
On white
11.88
#1B2A8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1B2A8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2A8E
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2A8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2A8E | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1b2a8e; /* rgb */ color: rgb(27, 42, 142); /* oklch */ color: oklch(35.0% 0.164 268.8);
Tailwind
colors: {
custom: {
50: '#6d64b0',
500: '#1b2a8e',
950: '#000000',
},
}SCSS
$custom: #1b2a8e; $custom-light: #6d64b0; $custom-dark: #000000;
JSON
{
"hex": "#1b2a8e",
"rgb": {
"r": 27,
"g": 42,
"b": 142
},
"hsl": {
"h": 232.174,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.35039,
"c": 0.16397,
"h": 268.8
},
"luminance": 0.03842
}Semantic roles & 50–950 ramp
primary
#1B2A8E
secondary
#BEAE47
accent
#D43DEB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980