#1B2AB3#1B2AB3
#1B2AB3 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.210 H 267.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2AB3 |
|---|---|
| RGB | rgb(27, 42, 179) |
| HSL | hsl(234, 74%, 40%) |
| HSV | hsv(234, 85%, 70%) |
| CMYK | cmyk(84.9%, 76.5%, 0%, 29.8%) |
| CIE-LAB | lab(27.14, 45.40, -72.51) |
| CIE-LCH | lch(27.14, 85.56, 302.05°) |
| OKLab | oklab(39.09% -0.008 -0.2102) |
| OKLCH | oklch(39.09% 0.21 267.8) |
| XYZ | xyz(9.4138, 5.1425, 43.1355) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.95
Indigo Blue
#3A18B1
ΔE00 4.42
True Blue
#010FCC
ΔE00 4.86
Mediumblue
#0000CD
ΔE00 5.83
Cobalt Blue
#030AA7
ΔE00 5.96
Royal
#0C1793
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2AB3 #B3A41B
analogous
#1B76B3 #1B2AB3 #581BB3
triadic
#1B2AB3 #B31B2A #2AB31B
tetradic
#1B2AB3 #B31B76 #B3A41B #1BB358
square
#1B2AB3 #B31B76 #B3A41B #1BB358
split-complementary
#1B2AB3 #B3581B #76B31B
monochromatic
#0B1149 #131E7E #1B2AB3 #2C3EDF #616EE7
Accessibility & contrast
On white
10.35
#1B2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#1B2AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2AB3
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2AB3 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1b2ab3; /* rgb */ color: rgb(27, 42, 179); /* oklch */ color: oklch(39.1% 0.210 267.8);
Tailwind
colors: {
custom: {
50: '#7765cb',
500: '#1b2ab3',
950: '#000000',
},
}SCSS
$custom: #1b2ab3; $custom-light: #7765cb; $custom-dark: #000000;
JSON
{
"hex": "#1b2ab3",
"rgb": {
"r": 27,
"g": 42,
"b": 179
},
"hsl": {
"h": 234.079,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.39087,
"c": 0.21033,
"h": 267.8
},
"luminance": 0.05144
}Semantic roles & 50–950 ramp
primary
#1B2AB3
secondary
#CCC15E
accent
#DE37F0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82