#1B2C9E#1B2C9E
#1B2C9E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.182 H 268.1°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2C9E |
|---|---|
| RGB | rgb(27, 44, 158) |
| HSL | hsl(232, 71%, 36%) |
| HSV | hsv(232, 83%, 62%) |
| CMYK | cmyk(82.9%, 72.2%, 0%, 38%) |
| CIE-LAB | lab(25.27, 36.80, -62.94) |
| CIE-LCH | lch(25.27, 72.91, 300.31°) |
| OKLab | oklab(37.07% -0.006 -0.1824) |
| OKLCH | oklch(37.07% 0.182 268.1) |
| XYZ | xyz(7.5221, 4.5021, 32.8137) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.64
Royal
#0C1793
ΔE00 5.13
Indigo Blue
#3A18B1
ΔE00 6.11
Cobalt Blue
#030AA7
ΔE00 6.54
Royal Blue (survey)
#0504AA
ΔE00 7.09
True Blue
#010FCC
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2C9E #9E8D1B
analogous
#1B6E9E #1B2C9E #4C1B9E
triadic
#1B2C9E #9E1B2C #2C9E1B
tetradic
#1B2C9E #9E1B6E #9E8D1B #1B9E4C
square
#1B2C9E #9E1B6E #9E8D1B #1B9E4C
split-complementary
#1B2C9E #9E4C1B #6E9E1B
monochromatic
#090F35 #121D6A #1B2C9E #243BD2 #5265E1
Accessibility & contrast
On white
11.05
#1B2C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#1B2C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2C9E
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2C9E | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1b2c9e; /* rgb */ color: rgb(27, 44, 158); /* oklch */ color: oklch(37.1% 0.182 268.1);
Tailwind
colors: {
custom: {
50: '#7166bc',
500: '#1b2c9e',
950: '#000000',
},
}SCSS
$custom: #1b2c9e; $custom-light: #7166bc; $custom-dark: #000000;
JSON
{
"hex": "#1b2c9e",
"rgb": {
"r": 27,
"g": 44,
"b": 158
},
"hsl": {
"h": 232.214,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.37074,
"c": 0.18249,
"h": 268.1
},
"luminance": 0.04503
}Semantic roles & 50–950 ramp
primary
#1B2C9E
secondary
#C4B551
accent
#D63AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81