#2B59C0#2B59C0
#2B59C0 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.170 H 263.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2B59C0 |
|---|---|
| RGB | rgb(43, 89, 192) |
| HSL | hsl(221, 63%, 46%) |
| HSV | hsv(221, 78%, 75%) |
| CMYK | cmyk(77.6%, 53.6%, 0%, 24.7%) |
| CIE-LAB | lab(40.35, 21.68, -58.50) |
| CIE-LCH | lch(40.35, 62.39, 290.33°) |
| OKLab | oklab(49.34% -0.0196 -0.1686) |
| OKLCH | oklch(49.34% 0.17 263.4) |
| XYZ | xyz(14.0797, 11.4625, 51.3294) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.75
Denim
#1560BD
ΔE00 3.84
Azul
#1D5DEC
ΔE00 5.55
Denim Blue
#3B5B92
ΔE00 5.79
Warm Blue
#4B57DB
ΔE00 6.27
Cobalt
#0047AB
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B59C0 #C0922B
analogous
#2BA3C0 #2B59C0 #482BC0
triadic
#2B59C0 #C02B59 #59C02B
tetradic
#2B59C0 #C02BA3 #C0922B #2BC048
square
#2B59C0 #C02BA3 #C0922B #2BC048
split-complementary
#2B59C0 #C0482B #A3C02B
monochromatic
#152B5C #20428E #2B59C0 #507AD8 #82A0E3
Accessibility & contrast
On white
6.38
#2B59C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2B59C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B59C0
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B59C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B59C0 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0366C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2b59c0; /* rgb */ color: rgb(43, 89, 192); /* oklch */ color: oklch(49.3% 0.170 263.4);
Tailwind
colors: {
custom: {
50: '#7b87d4',
500: '#2b59c0',
950: '#000000',
},
}SCSS
$custom: #2b59c0; $custom-light: #7b87d4; $custom-dark: #000000;
JSON
{
"hex": "#2b59c0",
"rgb": {
"r": 43,
"g": 89,
"b": 192
},
"hsl": {
"h": 221.477,
"s": 63.404,
"l": 46.078
},
"oklch": {
"l": 0.49339,
"c": 0.16976,
"h": 263.4
},
"luminance": 0.11464
}Semantic roles & 50–950 ramp
primary
#2B59C0
secondary
#CCB37B
accent
#B341E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83