#2850AF#2850AF
#2850AF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.159 H 264.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2850AF |
|---|---|
| RGB | rgb(40, 80, 175) |
| HSL | hsl(222, 63%, 42%) |
| HSV | hsv(222, 77%, 69%) |
| CMYK | cmyk(77.1%, 54.3%, 0%, 31.4%) |
| CIE-LAB | lab(36.52, 20.76, -54.73) |
| CIE-LCH | lch(36.52, 58.53, 290.77°) |
| OKLab | oklab(46.02% -0.0167 -0.1577) |
| OKLCH | oklch(46.02% 0.159 264) |
| XYZ | xyz(11.4788, 9.2823, 41.7358) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.03
Cobalt
#0047AB
ΔE00 3.20
Cobalt (survey)
#1E488F
ΔE00 4.96
Dusk Blue
#26538D
ΔE00 5.14
Denim Blue
#3B5B92
ΔE00 5.41
Blue Blue
#2242C7
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2850AF #AF8728
analogous
#2894AF #2850AF #4328AF
triadic
#2850AF #AF2850 #50AF28
tetradic
#2850AF #AF2894 #AF8728 #28AF43
square
#2850AF #AF2894 #AF8728 #28AF43
split-complementary
#2850AF #AF4328 #94AF28
monochromatic
#11224B #1D397D #2850AF #416CD4 #7393DF
Accessibility & contrast
On white
7.35
#2850AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2850AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2850AF
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2850AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2850AF | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2850af; /* rgb */ color: rgb(40, 80, 175); /* oklch */ color: oklch(46.0% 0.159 264.0);
Tailwind
colors: {
custom: {
50: '#7680c8',
500: '#2850af',
950: '#000000',
},
}SCSS
$custom: #2850af; $custom-light: #7680c8; $custom-dark: #000000;
JSON
{
"hex": "#2850af",
"rgb": {
"r": 40,
"g": 80,
"b": 175
},
"hsl": {
"h": 222.222,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.46015,
"c": 0.15861,
"h": 264
},
"luminance": 0.09284
}Semantic roles & 50–950 ramp
primary
#2850AF
secondary
#C6AC6D
accent
#B542E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82