#2857AA#2857AA
#2857AA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.143 H 260.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2857AA |
|---|---|
| RGB | rgb(40, 87, 170) |
| HSL | hsl(218, 62%, 41%) |
| HSV | hsv(218, 76%, 67%) |
| CMYK | cmyk(76.5%, 48.8%, 0%, 33.3%) |
| CIE-LAB | lab(38.14, 14.18, -49.14) |
| CIE-LCH | lch(38.14, 51.15, 286.10°) |
| OKLab | oklab(47.14% -0.0228 -0.1412) |
| OKLCH | oklch(47.14% 0.143 260.8) |
| XYZ | xyz(11.5363, 10.1685, 39.3771) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.62
Denim Blue
#3B5B92
ΔE00 3.61
Dusk Blue
#26538D
ΔE00 3.88
Denim
#1560BD
ΔE00 4.01
Light Navy Blue
#2E5A88
ΔE00 4.53
Cobalt
#0047AB
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2857AA #AA7B28
analogous
#2898AA #2857AA #3A28AA
triadic
#2857AA #AA2857 #57AA28
tetradic
#2857AA #AA2898 #AA7B28 #28AA3A
square
#2857AA #AA2898 #AA7B28 #28AA3A
split-complementary
#2857AA #AA3A28 #98AA28
monochromatic
#112447 #1C3E78 #2857AA #3E73D2 #6F97DD
Accessibility & contrast
On white
6.92
#2857AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2857AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2857AA
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2857AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2857AA | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2857aa; /* rgb */ color: rgb(40, 87, 170); /* oklch */ color: oklch(47.1% 0.143 260.8);
Tailwind
colors: {
custom: {
50: '#7585c4',
500: '#2857aa',
950: '#000000',
},
}SCSS
$custom: #2857aa; $custom-light: #7585c4; $custom-dark: #000000;
JSON
{
"hex": "#2857aa",
"rgb": {
"r": 40,
"g": 87,
"b": 170
},
"hsl": {
"h": 218.308,
"s": 61.905,
"l": 41.176
},
"oklch": {
"l": 0.47138,
"c": 0.143,
"h": 260.8
},
"luminance": 0.1017
}Semantic roles & 50–950 ramp
primary
#2857AA
secondary
#C4A36A
accent
#AA43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82