#2850B9#2850B9
#2850B9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.172 H 264.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2850B9 |
|---|---|
| RGB | rgb(40, 80, 185) |
| HSL | hsl(223, 64%, 44%) |
| HSV | hsv(223, 78%, 73%) |
| CMYK | cmyk(78.4%, 56.8%, 0%, 27.5%) |
| CIE-LAB | lab(37.28, 24.60, -59.40) |
| CIE-LCH | lch(37.28, 64.29, 292.50°) |
| OKLab | oklab(46.83% -0.0159 -0.1715) |
| OKLCH | oklch(46.83% 0.172 264.7) |
| XYZ | xyz(12.4976, 9.6898, 47.1012) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.06
Cobalt
#0047AB
ΔE00 3.81
Blue Blue
#2242C7
ΔE00 5.01
Blue (survey)
#0343DF
ΔE00 6.21
Cobalt (survey)
#1E488F
ΔE00 6.24
Denim Blue
#3B5B92
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2850B9 #B99128
analogous
#2899B9 #2850B9 #4928B9
triadic
#2850B9 #B92850 #50B928
tetradic
#2850B9 #B92899 #B99128 #28B949
square
#2850B9 #B92899 #B99128 #28B949
split-complementary
#2850B9 #B94928 #99B928
monochromatic
#122454 #1D3A87 #2850B9 #476FD7 #7996E2
Accessibility & contrast
On white
7.15
#2850B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2850B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2850B9
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2850B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2850B9 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2850b9; /* rgb */ color: rgb(40, 80, 185); /* oklch */ color: oklch(46.8% 0.172 264.7);
Tailwind
colors: {
custom: {
50: '#7980cf',
500: '#2850b9',
950: '#000000',
},
}SCSS
$custom: #2850b9; $custom-light: #7980cf; $custom-dark: #000000;
JSON
{
"hex": "#2850b9",
"rgb": {
"r": 40,
"g": 80,
"b": 185
},
"hsl": {
"h": 223.448,
"s": 64.444,
"l": 44.118
},
"oklch": {
"l": 0.46825,
"c": 0.1722,
"h": 264.7
},
"luminance": 0.09691
}Semantic roles & 50–950 ramp
primary
#2850B9
secondary
#CAB273
accent
#B940E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82