#2850B5#2850B5
#2850B5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.167 H 264.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2850B5 |
|---|---|
| RGB | rgb(40, 80, 181) |
| HSL | hsl(223, 64%, 43%) |
| HSV | hsv(223, 78%, 71%) |
| CMYK | cmyk(77.9%, 55.8%, 0%, 29%) |
| CIE-LAB | lab(36.97, 23.07, -57.54) |
| CIE-LCH | lch(36.97, 61.99, 291.84°) |
| OKLab | oklab(46.5% -0.0162 -0.166) |
| OKLCH | oklch(46.5% 0.167 264.4) |
| XYZ | xyz(12.0813, 9.5232, 44.9085) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.93
Cobalt
#0047AB
ΔE00 3.51
Blue Blue
#2242C7
ΔE00 5.35
Cobalt (survey)
#1E488F
ΔE00 5.72
Dusk Blue
#26538D
ΔE00 5.89
Denim Blue
#3B5B92
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2850B5 #B58D28
analogous
#2896B5 #2850B5 #4728B5
triadic
#2850B5 #B52850 #50B528
tetradic
#2850B5 #B52896 #B58D28 #28B547
square
#2850B5 #B52896 #B58D28 #28B547
split-complementary
#2850B5 #B54728 #96B528
monochromatic
#122451 #1D3A83 #2850B5 #446ED6 #7795E1
Accessibility & contrast
On white
7.23
#2850B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2850B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2850B5
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2850B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2850B5 | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2850b5; /* rgb */ color: rgb(40, 80, 181); /* oklch */ color: oklch(46.5% 0.167 264.4);
Tailwind
colors: {
custom: {
50: '#7880cc',
500: '#2850b5',
950: '#000000',
},
}SCSS
$custom: #2850b5; $custom-light: #7880cc; $custom-dark: #000000;
JSON
{
"hex": "#2850b5",
"rgb": {
"r": 40,
"g": 80,
"b": 181
},
"hsl": {
"h": 222.979,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.46498,
"c": 0.1668,
"h": 264.4
},
"luminance": 0.09525
}Semantic roles & 50–950 ramp
primary
#2850B5
secondary
#C8AF70
accent
#B841E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82