#2B5DC1#2B5DC1
#2B5DC1 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.166 H 262.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5DC1 |
|---|---|
| RGB | rgb(43, 93, 193) |
| HSL | hsl(220, 64%, 46%) |
| HSV | hsv(220, 78%, 76%) |
| CMYK | cmyk(77.7%, 51.8%, 0%, 24.3%) |
| CIE-LAB | lab(41.52, 19.44, -57.19) |
| CIE-LCH | lch(41.52, 60.41, 288.78°) |
| OKLab | oklab(50.25% -0.0225 -0.1647) |
| OKLCH | oklch(50.25% 0.166 262.2) |
| XYZ | xyz(14.5328, 12.1909, 52.0289) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.73
Sapphire
#0F52BA
ΔE00 3.78
French Blue
#436BAD
ΔE00 5.27
Azul
#1D5DEC
ΔE00 5.33
Denim Blue
#3B5B92
ΔE00 5.80
Mid Blue
#276AB3
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5DC1 #C18F2B
analogous
#2BA8C1 #2B5DC1 #442BC1
triadic
#2B5DC1 #C12B5D #5DC12B
tetradic
#2B5DC1 #C12BA8 #C18F2B #2BC144
square
#2B5DC1 #C12BA8 #C18F2B #2BC144
split-complementary
#2B5DC1 #C1442B #A8C12B
monochromatic
#152D5D #20458F #2B5DC1 #517ED8 #83A3E3
Accessibility & contrast
On white
6.11
#2B5DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#2B5DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5DC1
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5DC1 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1969C5
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2b5dc1; /* rgb */ color: rgb(43, 93, 193); /* oklch */ color: oklch(50.2% 0.166 262.2);
Tailwind
colors: {
custom: {
50: '#7b8ad4',
500: '#2b5dc1',
950: '#000000',
},
}SCSS
$custom: #2b5dc1; $custom-light: #7b8ad4; $custom-dark: #000000;
JSON
{
"hex": "#2b5dc1",
"rgb": {
"r": 43,
"g": 93,
"b": 193
},
"hsl": {
"h": 220,
"s": 63.559,
"l": 46.275
},
"oklch": {
"l": 0.5025,
"c": 0.16622,
"h": 262.2
},
"luminance": 0.12193
}Semantic roles & 50–950 ramp
primary
#2B5DC1
secondary
#CCB17B
accent
#AF41E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83