#2B58BA#2B58BA
#2B58BA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.163 H 263.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2B58BA |
|---|---|
| RGB | rgb(43, 88, 186) |
| HSL | hsl(221, 62%, 45%) |
| HSV | hsv(221, 77%, 73%) |
| CMYK | cmyk(76.9%, 52.7%, 0%, 27.1%) |
| CIE-LAB | lab(39.64, 20.04, -56.14) |
| CIE-LCH | lch(39.64, 59.61, 289.64°) |
| OKLab | oklab(48.67% -0.0195 -0.1617) |
| OKLCH | oklch(48.67% 0.163 263.1) |
| XYZ | xyz(13.3457, 11.0367, 47.8718) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.27
Denim
#1560BD
ΔE00 3.88
Denim Blue
#3B5B92
ΔE00 5.17
Cobalt
#0047AB
ΔE00 5.78
Dusk Blue
#26538D
ΔE00 6.06
Dusky Blue
#475F94
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B58BA #BA8D2B
analogous
#2B9FBA #2B58BA #462BBA
triadic
#2B58BA #BA2B58 #58BA2B
tetradic
#2B58BA #BA2B9F #BA8D2B #2BBA46
square
#2B58BA #BA2B9F #BA8D2B #2BBA46
split-complementary
#2B58BA #BA462B #9FBA2B
monochromatic
#142957 #204088 #2B58BA #4C78D6 #7E9DE1
Accessibility & contrast
On white
6.55
#2B58BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#2B58BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B58BA
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B58BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B58BA | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1164BD
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2b58ba; /* rgb */ color: rgb(43, 88, 186); /* oklch */ color: oklch(48.7% 0.163 263.1);
Tailwind
colors: {
custom: {
50: '#7a86cf',
500: '#2b58ba',
950: '#000000',
},
}SCSS
$custom: #2b58ba; $custom-light: #7a86cf; $custom-dark: #000000;
JSON
{
"hex": "#2b58ba",
"rgb": {
"r": 43,
"g": 88,
"b": 186
},
"hsl": {
"h": 221.119,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.48666,
"c": 0.16287,
"h": 263.1
},
"luminance": 0.11038
}Semantic roles & 50–950 ramp
primary
#2B58BA
secondary
#CAB077
accent
#B242E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82