#1B2C9F#1B2C9F
#1B2C9F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.184 H 268.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2C9F |
|---|---|
| RGB | rgb(27, 44, 159) |
| HSL | hsl(232, 71%, 36%) |
| HSV | hsv(232, 83%, 62%) |
| CMYK | cmyk(83%, 72.3%, 0%, 37.6%) |
| CIE-LAB | lab(25.37, 37.16, -63.38) |
| CIE-LCH | lch(25.37, 73.47, 300.39°) |
| OKLab | oklab(37.18% -0.0061 -0.1837) |
| OKLCH | oklch(37.18% 0.184 268.1) |
| XYZ | xyz(7.6085, 4.5367, 33.2688) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.58
Royal
#0C1793
ΔE00 5.15
Indigo Blue
#3A18B1
ΔE00 6.01
Cobalt Blue
#030AA7
ΔE00 6.50
Royal Blue (survey)
#0504AA
ΔE00 7.04
True Blue
#010FCC
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2C9F #9F8E1B
analogous
#1B6E9F #1B2C9F #4C1B9F
triadic
#1B2C9F #9F1B2C #2C9F1B
tetradic
#1B2C9F #9F1B6E #9F8E1B #1B9F4C
square
#1B2C9F #9F1B6E #9F8E1B #1B9F4C
split-complementary
#1B2C9F #9F4C1B #6E9F1B
monochromatic
#090F36 #121E6B #1B2C9F #243AD3 #5365E2
Accessibility & contrast
On white
11.01
#1B2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#1B2C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2C9F
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2C9F | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1b2c9f; /* rgb */ color: rgb(27, 44, 159); /* oklch */ color: oklch(37.2% 0.184 268.1);
Tailwind
colors: {
custom: {
50: '#7166bd',
500: '#1b2c9f',
950: '#000000',
},
}SCSS
$custom: #1b2c9f; $custom-light: #7166bd; $custom-dark: #000000;
JSON
{
"hex": "#1b2c9f",
"rgb": {
"r": 27,
"g": 44,
"b": 159
},
"hsl": {
"h": 232.273,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.37181,
"c": 0.18376,
"h": 268.1
},
"luminance": 0.04538
}Semantic roles & 50–950 ramp
primary
#1B2C9F
secondary
#C5B651
accent
#D73AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81