#2B57BD#2B57BD
#2B57BD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.168 H 263.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2B57BD |
|---|---|
| RGB | rgb(43, 87, 189) |
| HSL | hsl(222, 63%, 45%) |
| HSV | hsv(222, 77%, 74%) |
| CMYK | cmyk(77.2%, 54%, 0%, 25.9%) |
| CIE-LAB | lab(39.58, 21.84, -57.99) |
| CIE-LCH | lch(39.58, 61.97, 290.64°) |
| OKLab | oklab(48.69% -0.0184 -0.1672) |
| OKLCH | oklch(48.69% 0.168 263.7) |
| XYZ | xyz(13.5865, 11.0026, 49.5419) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.23
Denim
#1560BD
ΔE00 4.33
Denim Blue
#3B5B92
ΔE00 5.62
Cobalt
#0047AB
ΔE00 5.67
Azul
#1D5DEC
ΔE00 6.07
Warm Blue
#4B57DB
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B57BD #BD912B
analogous
#2BA0BD #2B57BD #482BBD
triadic
#2B57BD #BD2B57 #57BD2B
tetradic
#2B57BD #BD2BA0 #BD912B #2BBD48
square
#2B57BD #BD2BA0 #BD912B #2BBD48
split-complementary
#2B57BD #BD482B #A0BD2B
monochromatic
#142959 #20408B #2B57BD #4E77D7 #809EE2
Accessibility & contrast
On white
6.56
#2B57BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#2B57BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B57BD
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B57BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B57BD | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2b57bd; /* rgb */ color: rgb(43, 87, 189); /* oklch */ color: oklch(48.7% 0.168 263.7);
Tailwind
colors: {
custom: {
50: '#7a85d2',
500: '#2b57bd',
950: '#000000',
},
}SCSS
$custom: #2b57bd; $custom-light: #7a85d2; $custom-dark: #000000;
JSON
{
"hex": "#2b57bd",
"rgb": {
"r": 43,
"g": 87,
"b": 189
},
"hsl": {
"h": 221.918,
"s": 62.931,
"l": 45.49
},
"oklch": {
"l": 0.48691,
"c": 0.16817,
"h": 263.7
},
"luminance": 0.11004
}Semantic roles & 50–950 ramp
primary
#2B57BD
secondary
#CBB279
accent
#B542E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83