#1B2AA1#1B2AA1
#1B2AA1 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.188 H 268.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2AA1 |
|---|---|
| RGB | rgb(27, 42, 161) |
| HSL | hsl(233, 71%, 37%) |
| HSV | hsv(233, 83%, 63%) |
| CMYK | cmyk(83.2%, 73.9%, 0%, 36.9%) |
| CIE-LAB | lab(25.14, 39.12, -64.97) |
| CIE-LCH | lch(25.14, 75.84, 301.05°) |
| OKLab | oklab(37.08% -0.0056 -0.1883) |
| OKLCH | oklch(37.08% 0.188 268.3) |
| XYZ | xyz(7.7108, 4.4612, 34.1660) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.97
Royal
#0C1793
ΔE00 4.73
Indigo Blue
#3A18B1
ΔE00 5.42
Cobalt Blue
#030AA7
ΔE00 5.89
Royal Blue (survey)
#0504AA
ΔE00 6.42
True Blue
#010FCC
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2AA1 #A1921B
analogous
#1B6DA1 #1B2AA1 #4F1BA1
triadic
#1B2AA1 #A11B2A #2AA11B
tetradic
#1B2AA1 #A11B6D #A1921B #1BA14F
square
#1B2AA1 #A11B6D #A1921B #1BA14F
split-complementary
#1B2AA1 #A14F1B #6DA11B
monochromatic
#090F38 #121C6D #1B2AA1 #2438D5 #5464E2
Accessibility & contrast
On white
11.10
#1B2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#1B2AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2AA1
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2AA1 | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1b2aa1; /* rgb */ color: rgb(27, 42, 161); /* oklch */ color: oklch(37.1% 0.188 268.3);
Tailwind
colors: {
custom: {
50: '#7264be',
500: '#1b2aa1',
950: '#000000',
},
}SCSS
$custom: #1b2aa1; $custom-light: #7264be; $custom-dark: #000000;
JSON
{
"hex": "#1b2aa1",
"rgb": {
"r": 27,
"g": 42,
"b": 161
},
"hsl": {
"h": 233.284,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.37079,
"c": 0.18838,
"h": 268.3
},
"luminance": 0.04462
}Semantic roles & 50–950 ramp
primary
#1B2AA1
secondary
#C5B852
accent
#DA3AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81