#2C58BA#2C58BA
#2C58BA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.163 H 263.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2C58BA |
|---|---|
| RGB | rgb(44, 88, 186) |
| HSL | hsl(221, 62%, 45%) |
| HSV | hsv(221, 76%, 73%) |
| CMYK | cmyk(76.3%, 52.7%, 0%, 27.1%) |
| CIE-LAB | lab(39.68, 20.16, -56.08) |
| CIE-LCH | lch(39.68, 59.60, 289.77°) |
| OKLab | oklab(48.7% -0.0187 -0.1615) |
| OKLCH | oklch(48.7% 0.163 263.4) |
| XYZ | xyz(13.3882, 11.0586, 47.8738) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.33
Denim
#1560BD
ΔE00 3.96
Denim Blue
#3B5B92
ΔE00 5.18
Cobalt
#0047AB
ΔE00 5.81
Dusk Blue
#26538D
ΔE00 6.11
Dusky Blue
#475F94
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C58BA #BA8E2C
analogous
#2C9FBA #2C58BA #472CBA
triadic
#2C58BA #BA2C58 #58BA2C
tetradic
#2C58BA #BA2C9F #BA8E2C #2CBA47
square
#2C58BA #BA2C9F #BA8E2C #2CBA47
split-complementary
#2C58BA #BA472C #9FBA2C
monochromatic
#152957 #204189 #2C58BA #4E78D5 #809EE1
Accessibility & contrast
On white
6.54
#2C58BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#2C58BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C58BA
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C58BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C58BA | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1264BD
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2c58ba; /* rgb */ color: rgb(44, 88, 186); /* oklch */ color: oklch(48.7% 0.163 263.4);
Tailwind
colors: {
custom: {
50: '#7a86cf',
500: '#2c58ba',
950: '#000000',
},
}SCSS
$custom: #2c58ba; $custom-light: #7a86cf; $custom-dark: #000000;
JSON
{
"hex": "#2c58ba",
"rgb": {
"r": 44,
"g": 88,
"b": 186
},
"hsl": {
"h": 221.408,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.48704,
"c": 0.16259,
"h": 263.4
},
"luminance": 0.1106
}Semantic roles & 50–950 ramp
primary
#2C58BA
secondary
#CAB078
accent
#B343E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82