#2B57BB#2B57BB
#2B57BB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.165 H 263.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2B57BB |
|---|---|
| RGB | rgb(43, 87, 187) |
| HSL | hsl(222, 63%, 45%) |
| HSV | hsv(222, 77%, 73%) |
| CMYK | cmyk(77%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(39.44, 21.08, -57.06) |
| CIE-LCH | lch(39.44, 60.83, 290.28°) |
| OKLab | oklab(48.54% -0.0186 -0.1644) |
| OKLCH | oklch(48.54% 0.165 263.5) |
| XYZ | xyz(13.3709, 10.9163, 48.4064) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.13
Denim
#1560BD
ΔE00 4.25
Denim Blue
#3B5B92
ΔE00 5.39
Cobalt
#0047AB
ΔE00 5.56
Dusk Blue
#26538D
ΔE00 6.20
Azul
#1D5DEC
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B57BB #BB8F2B
analogous
#2B9FBB #2B57BB #472BBB
triadic
#2B57BB #BB2B57 #57BB2B
tetradic
#2B57BB #BB2B9F #BB8F2B #2BBB47
square
#2B57BB #BB2B9F #BB8F2B #2BBB47
split-complementary
#2B57BB #BB472B #9FBB2B
monochromatic
#142957 #204089 #2B57BB #4D77D6 #7F9DE2
Accessibility & contrast
On white
6.60
#2B57BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#2B57BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B57BB
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B57BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B57BB | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0764BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2b57bb; /* rgb */ color: rgb(43, 87, 187); /* oklch */ color: oklch(48.5% 0.165 263.5);
Tailwind
colors: {
custom: {
50: '#7a85d0',
500: '#2b57bb',
950: '#000000',
},
}SCSS
$custom: #2b57bb; $custom-light: #7a85d0; $custom-dark: #000000;
JSON
{
"hex": "#2b57bb",
"rgb": {
"r": 43,
"g": 87,
"b": 187
},
"hsl": {
"h": 221.667,
"s": 62.609,
"l": 45.098
},
"oklch": {
"l": 0.48535,
"c": 0.16546,
"h": 263.5
},
"luminance": 0.10918
}Semantic roles & 50–950 ramp
primary
#2B57BB
secondary
#CAB178
accent
#B442E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82