#2856B9#2856B9
#2856B9 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.165 H 263.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2856B9 |
|---|---|
| RGB | rgb(40, 86, 185) |
| HSL | hsl(221, 64%, 44%) |
| HSV | hsv(221, 78%, 73%) |
| CMYK | cmyk(78.4%, 53.5%, 0%, 27.5%) |
| CIE-LAB | lab(38.91, 20.64, -56.75) |
| CIE-LCH | lch(38.91, 60.38, 289.99°) |
| OKLab | oklab(48.06% -0.0202 -0.1636) |
| OKLCH | oklch(48.06% 0.165 263) |
| XYZ | xyz(12.9567, 10.6080, 47.2542) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.70
Denim
#1560BD
ΔE00 4.33
Cobalt
#0047AB
ΔE00 5.13
Denim Blue
#3B5B92
ΔE00 5.26
Dusk Blue
#26538D
ΔE00 5.82
Light Navy Blue
#2E5A88
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2856B9 #B98B28
analogous
#289EB9 #2856B9 #4328B9
triadic
#2856B9 #B92856 #56B928
tetradic
#2856B9 #B9289E #B98B28 #28B943
square
#2856B9 #B9289E #B98B28 #28B943
split-complementary
#2856B9 #B94328 #9EB928
monochromatic
#122754 #1D3F87 #2856B9 #4775D7 #799BE2
Accessibility & contrast
On white
6.73
#2856B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2856B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2856B9
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2856B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2856B9 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0663BC
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2856b9; /* rgb */ color: rgb(40, 86, 185); /* oklch */ color: oklch(48.1% 0.165 263.0);
Tailwind
colors: {
custom: {
50: '#7885cf',
500: '#2856b9',
950: '#000000',
},
}SCSS
$custom: #2856b9; $custom-light: #7885cf; $custom-dark: #000000;
JSON
{
"hex": "#2856b9",
"rgb": {
"r": 40,
"g": 86,
"b": 185
},
"hsl": {
"h": 220.966,
"s": 64.444,
"l": 44.118
},
"oklch": {
"l": 0.48059,
"c": 0.1648,
"h": 263
},
"luminance": 0.10609
}Semantic roles & 50–950 ramp
primary
#2856B9
secondary
#CAAE73
accent
#B240E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82