#1B2DA1#1B2DA1
#1B2DA1 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.185 H 267.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2DA1 |
|---|---|
| RGB | rgb(27, 45, 161) |
| HSL | hsl(232, 71%, 37%) |
| HSV | hsv(232, 83%, 63%) |
| CMYK | cmyk(83.2%, 72%, 0%, 36.9%) |
| CIE-LAB | lab(25.81, 37.27, -63.87) |
| CIE-LCH | lch(25.81, 73.95, 300.26°) |
| OKLab | oklab(37.56% -0.0067 -0.1851) |
| OKLCH | oklch(37.56% 0.185 267.9) |
| XYZ | xyz(7.8212, 4.6821, 34.2028) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.24
Royal
#0C1793
ΔE00 5.47
Indigo Blue
#3A18B1
ΔE00 6.05
Cobalt Blue
#030AA7
ΔE00 6.69
True Blue
#010FCC
ΔE00 7.21
Royal Blue (survey)
#0504AA
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2DA1 #A18F1B
analogous
#1B70A1 #1B2DA1 #4C1BA1
triadic
#1B2DA1 #A11B2D #2DA11B
tetradic
#1B2DA1 #A11B70 #A18F1B #1BA14C
square
#1B2DA1 #A11B70 #A18F1B #1BA14C
split-complementary
#1B2DA1 #A14C1B #70A11B
monochromatic
#091038 #121E6D #1B2DA1 #243CD5 #5467E2
Accessibility & contrast
On white
10.84
#1B2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#1B2DA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2DA1
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2DA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2DA1 | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1b2da1; /* rgb */ color: rgb(27, 45, 161); /* oklch */ color: oklch(37.6% 0.185 267.9);
Tailwind
colors: {
custom: {
50: '#7266be',
500: '#1b2da1',
950: '#000000',
},
}SCSS
$custom: #1b2da1; $custom-light: #7266be; $custom-dark: #000000;
JSON
{
"hex": "#1b2da1",
"rgb": {
"r": 27,
"g": 45,
"b": 161
},
"hsl": {
"h": 231.94,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.37559,
"c": 0.18522,
"h": 267.9
},
"luminance": 0.04683
}Semantic roles & 50–950 ramp
primary
#1B2DA1
secondary
#C5B652
accent
#D63AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81