#2850AB#2850AB
#2850AB is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.153 H 263.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2850AB |
|---|---|
| RGB | rgb(40, 80, 171) |
| HSL | hsl(222, 62%, 41%) |
| HSV | hsv(222, 77%, 67%) |
| CMYK | cmyk(76.6%, 53.2%, 0%, 32.9%) |
| CIE-LAB | lab(36.23, 19.21, -52.83) |
| CIE-LCH | lch(36.23, 56.21, 289.99°) |
| OKLab | oklab(45.7% -0.017 -0.1521) |
| OKLCH | oklch(45.7% 0.153 263.6) |
| XYZ | xyz(11.0918, 9.1275, 39.6974) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.27
Cobalt
#0047AB
ΔE00 3.11
Cobalt (survey)
#1E488F
ΔE00 4.47
Dusk Blue
#26538D
ΔE00 4.64
Denim Blue
#3B5B92
ΔE00 5.06
Light Navy Blue
#2E5A88
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2850AB #AB8328
analogous
#2892AB #2850AB #4228AB
triadic
#2850AB #AB2850 #50AB28
tetradic
#2850AB #AB2892 #AB8328 #28AB42
square
#2850AB #AB2892 #AB8328 #28AB42
split-complementary
#2850AB #AB4228 #92AB28
monochromatic
#112248 #1C3979 #2850AB #3E6BD2 #7091DE
Accessibility & contrast
On white
7.43
#2850AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#2850AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2850AB
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2850AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2850AB | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E5CAE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2850ab; /* rgb */ color: rgb(40, 80, 171); /* oklch */ color: oklch(45.7% 0.153 263.6);
Tailwind
colors: {
custom: {
50: '#7580c5',
500: '#2850ab',
950: '#000000',
},
}SCSS
$custom: #2850ab; $custom-light: #7580c5; $custom-dark: #000000;
JSON
{
"hex": "#2850ab",
"rgb": {
"r": 40,
"g": 80,
"b": 171
},
"hsl": {
"h": 221.679,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.45699,
"c": 0.15309,
"h": 263.6
},
"luminance": 0.09129
}Semantic roles & 50–950 ramp
primary
#2850AB
secondary
#C4A96A
accent
#B443E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82