#1B2B9D#1B2B9D
#1B2B9D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.182 H 268.3°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2B9D |
|---|---|
| RGB | rgb(27, 43, 157) |
| HSL | hsl(233, 71%, 36%) |
| HSV | hsv(233, 83%, 62%) |
| CMYK | cmyk(82.8%, 72.6%, 0%, 38.4%) |
| CIE-LAB | lab(24.93, 37.06, -62.88) |
| CIE-LCH | lch(24.93, 72.99, 300.51°) |
| OKLab | oklab(36.8% -0.0055 -0.1822) |
| OKLCH | oklch(36.8% 0.182 268.3) |
| XYZ | xyz(7.3996, 4.3942, 32.3499) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.93
Royal
#0C1793
ΔE00 4.84
Indigo Blue
#3A18B1
ΔE00 6.00
Cobalt Blue
#030AA7
ΔE00 6.32
Royal Blue (survey)
#0504AA
ΔE00 6.87
Ultramarine
#2000B1
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2B9D #9D8D1B
analogous
#1B6C9D #1B2B9D #4C1B9D
triadic
#1B2B9D #9D1B2B #2B9D1B
tetradic
#1B2B9D #9D1B6C #9D8D1B #1B9D4C
square
#1B2B9D #9D1B6C #9D8D1B #1B9D4C
split-complementary
#1B2B9D #9D4C1B #6C9D1B
monochromatic
#090E35 #121D69 #1B2B9D #2439D1 #5163E1
Accessibility & contrast
On white
11.18
#1B2B9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#1B2B9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2B9D
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2B9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2B9D | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1b2b9d; /* rgb */ color: rgb(27, 43, 157); /* oklch */ color: oklch(36.8% 0.182 268.3);
Tailwind
colors: {
custom: {
50: '#7165bb',
500: '#1b2b9d',
950: '#000000',
},
}SCSS
$custom: #1b2b9d; $custom-light: #7165bb; $custom-dark: #000000;
JSON
{
"hex": "#1b2b9d",
"rgb": {
"r": 27,
"g": 43,
"b": 157
},
"hsl": {
"h": 232.615,
"s": 70.652,
"l": 36.078
},
"oklch": {
"l": 0.36803,
"c": 0.18229,
"h": 268.3
},
"luminance": 0.04395
}Semantic roles & 50–950 ramp
primary
#1B2B9D
secondary
#C4B650
accent
#D73AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090512
muted
#7B7A81