#1B2C8D#1B2C8D
#1B2C8D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.160 H 268.4°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2C8D |
|---|---|
| RGB | rgb(27, 44, 141) |
| HSL | hsl(231, 68%, 33%) |
| HSV | hsv(231, 81%, 55%) |
| CMYK | cmyk(80.9%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(23.53, 30.45, -55.34) |
| CIE-LCH | lch(23.53, 63.16, 298.82°) |
| OKLab | oklab(35.29% -0.0044 -0.1602) |
| OKLCH | oklch(35.29% 0.16 268.4) |
| XYZ | xyz(6.1587, 3.9568, 25.6333) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.14
Royal
#0C1793
ΔE00 5.47
Midnight Blue
#191970
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 7.41
Blueberry
#464196
ΔE00 7.42
Cobalt Blue
#030AA7
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2C8D #8D7C1B
analogous
#1B658D #1B2C8D #431B8D
triadic
#1B2C8D #8D1B2C #2C8D1B
tetradic
#1B2C8D #8D1B65 #8D7C1B #1B8D43
square
#1B2C8D #8D1B65 #8D7C1B #1B8D43
split-complementary
#1B2C8D #8D431B #658D1B
monochromatic
#070C26 #111C5A #1B2C8D #253CC0 #475DDC
Accessibility & contrast
On white
11.72
#1B2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#1B2C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2C8D
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2C8D | 1.00 | 11.72 | 1.79 | 11.72 |
| #FFFFFF | 11.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1b2c8d; /* rgb */ color: rgb(27, 44, 141); /* oklch */ color: oklch(35.3% 0.160 268.4);
Tailwind
colors: {
custom: {
50: '#6c65af',
500: '#1b2c8d',
950: '#000000',
},
}SCSS
$custom: #1b2c8d; $custom-light: #6c65af; $custom-dark: #000000;
JSON
{
"hex": "#1b2c8d",
"rgb": {
"r": 27,
"g": 44,
"b": 141
},
"hsl": {
"h": 231.053,
"s": 67.857,
"l": 32.941
},
"oklch": {
"l": 0.35291,
"c": 0.16031,
"h": 268.4
},
"luminance": 0.03957
}Semantic roles & 50–950 ramp
primary
#1B2C8D
secondary
#BDAC46
accent
#D13DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F