#1B2C8C#1B2C8C
#1B2C8C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.159 H 268.4°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2C8C |
|---|---|
| RGB | rgb(27, 44, 140) |
| HSL | hsl(231, 68%, 33%) |
| HSV | hsv(231, 81%, 55%) |
| CMYK | cmyk(80.7%, 68.6%, 0%, 45.1%) |
| CIE-LAB | lab(23.43, 30.07, -54.88) |
| CIE-LCH | lch(23.43, 62.58, 298.71°) |
| OKLab | oklab(35.19% -0.0043 -0.1589) |
| OKLCH | oklch(35.19% 0.159 268.4) |
| XYZ | xyz(6.0847, 3.9271, 25.2432) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.26
Royal
#0C1793
ΔE00 5.53
Midnight Blue
#191970
ΔE00 6.22
Darkslateblue
#483D8B
ΔE00 7.41
Blueberry
#464196
ΔE00 7.45
Cobalt Blue
#030AA7
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2C8C #8C7B1B
analogous
#1B658C #1B2C8C #421B8C
triadic
#1B2C8C #8C1B2C #2C8C1B
tetradic
#1B2C8C #8C1B65 #8C7B1B #1B8C42
square
#1B2C8C #8C1B65 #8C7B1B #1B8C42
split-complementary
#1B2C8C #8C421B #658C1B
monochromatic
#070C25 #111C59 #1B2C8C #253CBF #465DDB
Accessibility & contrast
On white
11.76
#1B2C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#1B2C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2C8C
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2C8C | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1b2c8c; /* rgb */ color: rgb(27, 44, 140); /* oklch */ color: oklch(35.2% 0.159 268.4);
Tailwind
colors: {
custom: {
50: '#6c65af',
500: '#1b2c8c',
950: '#000000',
},
}SCSS
$custom: #1b2c8c; $custom-light: #6c65af; $custom-dark: #000000;
JSON
{
"hex": "#1b2c8c",
"rgb": {
"r": 27,
"g": 44,
"b": 140
},
"hsl": {
"h": 230.973,
"s": 67.665,
"l": 32.745
},
"oklch": {
"l": 0.35189,
"c": 0.15897,
"h": 268.4
},
"luminance": 0.03928
}Semantic roles & 50–950 ramp
primary
#1B2C8C
secondary
#BDAB46
accent
#D03DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F