#2957B9#2957B9
#2957B9 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.163 H 262.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2957B9 |
|---|---|
| RGB | rgb(41, 87, 185) |
| HSL | hsl(221, 64%, 44%) |
| HSV | hsv(221, 78%, 73%) |
| CMYK | cmyk(77.8%, 53%, 0%, 27.5%) |
| CIE-LAB | lab(39.22, 20.09, -56.24) |
| CIE-LCH | lch(39.22, 59.72, 289.66°) |
| OKLab | oklab(48.31% -0.0202 -0.162) |
| OKLCH | oklch(48.31% 0.163 262.9) |
| XYZ | xyz(13.0765, 10.7891, 47.2829) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.94
Denim
#1560BD
ΔE00 4.05
Denim Blue
#3B5B92
ΔE00 5.15
Cobalt
#0047AB
ΔE00 5.42
Dusk Blue
#26538D
ΔE00 5.84
Light Navy Blue
#2E5A88
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2957B9 #B98B29
analogous
#299FB9 #2957B9 #4329B9
triadic
#2957B9 #B92957 #57B929
tetradic
#2957B9 #B9299F #B98B29 #29B943
square
#2957B9 #B9299F #B98B29 #29B943
split-complementary
#2957B9 #B94329 #9FB929
monochromatic
#132855 #1E3F87 #2957B9 #4976D7 #7B9CE2
Accessibility & contrast
On white
6.65
#2957B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#2957B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2957B9
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2957B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2957B9 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E63BC
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2957b9; /* rgb */ color: rgb(41, 87, 185); /* oklch */ color: oklch(48.3% 0.163 262.9);
Tailwind
colors: {
custom: {
50: '#7985cf',
500: '#2957b9',
950: '#000000',
},
}SCSS
$custom: #2957b9; $custom-light: #7985cf; $custom-dark: #000000;
JSON
{
"hex": "#2957b9",
"rgb": {
"r": 41,
"g": 87,
"b": 185
},
"hsl": {
"h": 220.833,
"s": 63.717,
"l": 44.314
},
"oklch": {
"l": 0.48305,
"c": 0.1633,
"h": 262.9
},
"luminance": 0.10791
}Semantic roles & 50–950 ramp
primary
#2957B9
secondary
#CAAE74
accent
#B241E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82