#2957AF#2957AF
#2957AF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.150 H 261.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2957AF |
|---|---|
| RGB | rgb(41, 87, 175) |
| HSL | hsl(219, 62%, 42%) |
| HSV | hsv(219, 77%, 69%) |
| CMYK | cmyk(76.6%, 50.3%, 0%, 31.4%) |
| CIE-LAB | lab(38.52, 16.24, -51.49) |
| CIE-LCH | lch(38.52, 53.99, 287.50°) |
| OKLab | oklab(47.54% -0.0214 -0.1481) |
| OKLCH | oklch(47.54% 0.15 261.8) |
| XYZ | xyz(12.0577, 10.3816, 41.9175) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.21
Denim
#1560BD
ΔE00 3.96
Denim Blue
#3B5B92
ΔE00 4.07
Dusk Blue
#26538D
ΔE00 4.56
Light Navy Blue
#2E5A88
ΔE00 5.12
Cobalt
#0047AB
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2957AF #AF8129
analogous
#299AAF #2957AF #3E29AF
triadic
#2957AF #AF2957 #57AF29
tetradic
#2957AF #AF299A #AF8129 #29AF3E
square
#2957AF #AF299A #AF8129 #29AF3E
split-complementary
#2957AF #AF3E29 #9AAF29
monochromatic
#12264C #1D3E7D #2957AF #4274D3 #7499DE
Accessibility & contrast
On white
6.83
#2957AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2957AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2957AF
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2957AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2957AF | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2957af; /* rgb */ color: rgb(41, 87, 175); /* oklch */ color: oklch(47.5% 0.150 261.8);
Tailwind
colors: {
custom: {
50: '#7685c7',
500: '#2957af',
950: '#000000',
},
}SCSS
$custom: #2957af; $custom-light: #7685c7; $custom-dark: #000000;
JSON
{
"hex": "#2957af",
"rgb": {
"r": 41,
"g": 87,
"b": 175
},
"hsl": {
"h": 219.403,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.47544,
"c": 0.14961,
"h": 261.8
},
"luminance": 0.10383
}Semantic roles & 50–950 ramp
primary
#2957AF
secondary
#C6A86E
accent
#AD43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82