#2957BA#2957BA
#2957BA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.165 H 263.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2957BA |
|---|---|
| RGB | rgb(41, 87, 186) |
| HSL | hsl(221, 64%, 45%) |
| HSV | hsv(221, 78%, 73%) |
| CMYK | cmyk(78%, 53.2%, 0%, 27.1%) |
| CIE-LAB | lab(39.30, 20.47, -56.71) |
| CIE-LCH | lch(39.30, 60.29, 289.85°) |
| OKLab | oklab(48.38% -0.0201 -0.1634) |
| OKLCH | oklch(48.38% 0.165 263) |
| XYZ | xyz(13.1824, 10.8315, 47.8408) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.97
Denim
#1560BD
ΔE00 4.08
Denim Blue
#3B5B92
ΔE00 5.26
Cobalt
#0047AB
ΔE00 5.47
Dusk Blue
#26538D
ΔE00 5.97
Light Navy Blue
#2E5A88
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2957BA #BA8C29
analogous
#299FBA #2957BA #4429BA
triadic
#2957BA #BA2957 #57BA29
tetradic
#2957BA #BA299F #BA8C29 #29BA44
square
#2957BA #BA299F #BA8C29 #29BA44
split-complementary
#2957BA #BA4429 #9FBA29
monochromatic
#132856 #1E4088 #2957BA #4976D7 #7B9CE2
Accessibility & contrast
On white
6.63
#2957BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#2957BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2957BA
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2957BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2957BA | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A64BD
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2957ba; /* rgb */ color: rgb(41, 87, 186); /* oklch */ color: oklch(48.4% 0.165 263.0);
Tailwind
colors: {
custom: {
50: '#7985cf',
500: '#2957ba',
950: '#000000',
},
}SCSS
$custom: #2957ba; $custom-light: #7985cf; $custom-dark: #000000;
JSON
{
"hex": "#2957ba",
"rgb": {
"r": 41,
"g": 87,
"b": 186
},
"hsl": {
"h": 220.966,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.48382,
"c": 0.16466,
"h": 263
},
"luminance": 0.10833
}Semantic roles & 50–950 ramp
primary
#2957BA
secondary
#CAAF75
accent
#B241E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82