#2852BA#2852BA
#2852BA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.171 H 264.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2852BA |
|---|---|
| RGB | rgb(40, 82, 186) |
| HSL | hsl(223, 65%, 44%) |
| HSV | hsv(223, 78%, 73%) |
| CMYK | cmyk(78.5%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(37.90, 23.66, -58.98) |
| CIE-LCH | lch(37.90, 63.55, 291.86°) |
| OKLab | oklab(47.31% -0.0173 -0.1702) |
| OKLCH | oklch(47.31% 0.171 264.2) |
| XYZ | xyz(12.7521, 10.0294, 47.7086) |
| Luminance | 0.1003 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.73
Cobalt
#0047AB
ΔE00 4.24
Blue Blue
#2242C7
ΔE00 5.59
Denim
#1560BD
ΔE00 5.73
Denim Blue
#3B5B92
ΔE00 6.03
Dusk Blue
#26538D
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2852BA #BA9028
analogous
#289BBA #2852BA #4728BA
triadic
#2852BA #BA2852 #52BA28
tetradic
#2852BA #BA289B #BA9028 #28BA47
square
#2852BA #BA289B #BA9028 #28BA47
split-complementary
#2852BA #BA4728 #9BBA28
monochromatic
#122655 #1D3C88 #2852BA #4871D8 #7A98E2
Accessibility & contrast
On white
6.99
#2852BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2852BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2852BA
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2852BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2852BA | 1.00 | 6.99 | 3.01 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2852ba; /* rgb */ color: rgb(40, 82, 186); /* oklch */ color: oklch(47.3% 0.171 264.2);
Tailwind
colors: {
custom: {
50: '#7982d0',
500: '#2852ba',
950: '#000000',
},
}SCSS
$custom: #2852ba; $custom-light: #7982d0; $custom-dark: #000000;
JSON
{
"hex": "#2852ba",
"rgb": {
"r": 40,
"g": 82,
"b": 186
},
"hsl": {
"h": 222.74,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.47313,
"c": 0.17108,
"h": 264.2
},
"luminance": 0.10031
}Semantic roles & 50–950 ramp
primary
#2852BA
secondary
#CAB173
accent
#B740E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82