#1B2C7A#1B2C7A
#1B2C7A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.134 H 268.5°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2C7A |
|---|---|
| RGB | rgb(27, 44, 122) |
| HSL | hsl(229, 64%, 29%) |
| HSV | hsv(229, 78%, 48%) |
| CMYK | cmyk(77.9%, 63.9%, 0%, 52.2%) |
| CIE-LAB | lab(21.72, 23.04, -46.36) |
| CIE-LCH | lch(21.72, 51.77, 296.43°) |
| OKLab | oklab(33.41% -0.0035 -0.134) |
| OKLCH | oklch(33.41% 0.134 268.5) |
| XYZ | xyz(4.8643, 3.4390, 18.8160) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.68
Marine
#042E60
ΔE00 6.07
Royal
#0C1793
ΔE00 7.40
Marine Blue
#01386A
ΔE00 7.58
Sapphire (survey)
#2138AB
ΔE00 7.62
Darkslateblue
#483D8B
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2C7A #7A691B
analogous
#1B5C7A #1B2C7A #3A1B7A
triadic
#1B2C7A #7A1B2C #2C7A1B
tetradic
#1B2C7A #7A1B5C #7A691B #1B7A3A
square
#1B2C7A #7A1B5C #7A691B #1B7A3A
split-complementary
#1B2C7A #7A3A1B #5C7A1B
monochromatic
#060919 #101A48 #1B2C7A #263EAC #3C57D4
Accessibility & contrast
On white
12.44
#1B2C7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1B2C7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2C7A
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2C7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2C7A | 1.00 | 12.44 | 1.69 | 12.44 |
| #FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1b2c7a; /* rgb */ color: rgb(27, 44, 122); /* oklch */ color: oklch(33.4% 0.134 268.5);
Tailwind
colors: {
custom: {
50: '#6764a1',
500: '#1b2c7a',
950: '#000000',
},
}SCSS
$custom: #1b2c7a; $custom-light: #6764a1; $custom-dark: #000000;
JSON
{
"hex": "#1b2c7a",
"rgb": {
"r": 27,
"g": 44,
"b": 122
},
"hsl": {
"h": 229.263,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.33411,
"c": 0.13402,
"h": 268.5
},
"luminance": 0.0344
}Semantic roles & 50–950 ramp
primary
#1B2C7A
secondary
#AE9B43
accent
#C941E7
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F