#2850BA#2850BA
#2850BA is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.174 H 264.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2850BA |
|---|---|
| RGB | rgb(40, 80, 186) |
| HSL | hsl(224, 65%, 44%) |
| HSV | hsv(224, 78%, 73%) |
| CMYK | cmyk(78.5%, 57%, 0%, 27.1%) |
| CIE-LAB | lab(37.36, 24.98, -59.86) |
| CIE-LCH | lch(37.36, 64.86, 292.65°) |
| OKLab | oklab(46.91% -0.0159 -0.1728) |
| OKLCH | oklch(46.91% 0.174 264.7) |
| XYZ | xyz(12.6035, 9.7322, 47.6591) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.11
Cobalt
#0047AB
ΔE00 3.90
Blue Blue
#2242C7
ΔE00 4.93
Blue (survey)
#0343DF
ΔE00 6.09
Cobalt (survey)
#1E488F
ΔE00 6.37
Denim
#1560BD
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2850BA #BA9228
analogous
#2899BA #2850BA #4928BA
triadic
#2850BA #BA2850 #50BA28
tetradic
#2850BA #BA2899 #BA9228 #28BA49
square
#2850BA #BA2899 #BA9228 #28BA49
split-complementary
#2850BA #BA4928 #99BA28
monochromatic
#122555 #1D3A88 #2850BA #486FD8 #7A97E2
Accessibility & contrast
On white
7.13
#2850BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2850BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2850BA
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2850BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2850BA | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2850ba; /* rgb */ color: rgb(40, 80, 186); /* oklch */ color: oklch(46.9% 0.174 264.7);
Tailwind
colors: {
custom: {
50: '#7980d0',
500: '#2850ba',
950: '#000000',
},
}SCSS
$custom: #2850ba; $custom-light: #7980d0; $custom-dark: #000000;
JSON
{
"hex": "#2850ba",
"rgb": {
"r": 40,
"g": 80,
"b": 186
},
"hsl": {
"h": 223.562,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.46908,
"c": 0.17354,
"h": 264.7
},
"luminance": 0.09734
}Semantic roles & 50–950 ramp
primary
#2850BA
secondary
#CAB373
accent
#BA40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82