#2958BA#2958BA
#2958BA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.163 H 262.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2958BA |
|---|---|
| RGB | rgb(41, 88, 186) |
| HSL | hsl(221, 64%, 45%) |
| HSV | hsv(221, 78%, 73%) |
| CMYK | cmyk(78%, 52.7%, 0%, 27.1%) |
| CIE-LAB | lab(39.57, 19.82, -56.26) |
| CIE-LCH | lch(39.57, 59.65, 289.40°) |
| OKLab | oklab(48.59% -0.0209 -0.1621) |
| OKLCH | oklch(48.59% 0.163 262.7) |
| XYZ | xyz(13.2639, 10.9945, 47.8679) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.18
Denim
#1560BD
ΔE00 3.74
Denim Blue
#3B5B92
ΔE00 5.16
Cobalt
#0047AB
ΔE00 5.75
Dusk Blue
#26538D
ΔE00 5.96
Dusky Blue
#475F94
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2958BA #BA8B29
analogous
#29A1BA #2958BA #4329BA
triadic
#2958BA #BA2958 #58BA29
tetradic
#2958BA #BA29A1 #BA8B29 #29BA43
square
#2958BA #BA29A1 #BA8B29 #29BA43
split-complementary
#2958BA #BA4329 #A1BA29
monochromatic
#132956 #1E4088 #2958BA #4977D7 #7B9DE2
Accessibility & contrast
On white
6.56
#2958BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#2958BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2958BA
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2958BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2958BA | 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)
#1164BD
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2958ba; /* rgb */ color: rgb(41, 88, 186); /* oklch */ color: oklch(48.6% 0.163 262.7);
Tailwind
colors: {
custom: {
50: '#7986cf',
500: '#2958ba',
950: '#000000',
},
}SCSS
$custom: #2958ba; $custom-light: #7986cf; $custom-dark: #000000;
JSON
{
"hex": "#2958ba",
"rgb": {
"r": 41,
"g": 88,
"b": 186
},
"hsl": {
"h": 220.552,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.48592,
"c": 0.16342,
"h": 262.7
},
"luminance": 0.10996
}Semantic roles & 50–950 ramp
primary
#2958BA
secondary
#CAAE75
accent
#B141E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82