#2850B0#2850B0
#2850B0 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.160 H 264.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2850B0 |
|---|---|
| RGB | rgb(40, 80, 176) |
| HSL | hsl(222, 63%, 42%) |
| HSV | hsv(222, 77%, 69%) |
| CMYK | cmyk(77.3%, 54.5%, 0%, 31%) |
| CIE-LAB | lab(36.60, 21.14, -55.20) |
| CIE-LCH | lch(36.60, 59.11, 290.96°) |
| OKLab | oklab(46.1% -0.0166 -0.1591) |
| OKLCH | oklch(46.1% 0.16 264) |
| XYZ | xyz(11.5774, 9.3217, 42.2550) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.99
Cobalt
#0047AB
ΔE00 3.24
Cobalt (survey)
#1E488F
ΔE00 5.09
Dusk Blue
#26538D
ΔE00 5.27
Denim Blue
#3B5B92
ΔE00 5.50
Blue Blue
#2242C7
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2850B0 #B08828
analogous
#2894B0 #2850B0 #4428B0
triadic
#2850B0 #B02850 #50B028
tetradic
#2850B0 #B02894 #B08828 #28B044
square
#2850B0 #B02894 #B08828 #28B044
split-complementary
#2850B0 #B04428 #94B028
monochromatic
#11234C #1D397E #2850B0 #416CD4 #7393DF
Accessibility & contrast
On white
7.33
#2850B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2850B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2850B0
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2850B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2850B0 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2850b0; /* rgb */ color: rgb(40, 80, 176); /* oklch */ color: oklch(46.1% 0.160 264.0);
Tailwind
colors: {
custom: {
50: '#7780c8',
500: '#2850b0',
950: '#000000',
},
}SCSS
$custom: #2850b0; $custom-light: #7780c8; $custom-dark: #000000;
JSON
{
"hex": "#2850b0",
"rgb": {
"r": 40,
"g": 80,
"b": 176
},
"hsl": {
"h": 222.353,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.46095,
"c": 0.15998,
"h": 264
},
"luminance": 0.09323
}Semantic roles & 50–950 ramp
primary
#2850B0
secondary
#C6AC6D
accent
#B642E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82