#2861BC#2861BC
#2861BC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.155 H 259.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2861BC |
|---|---|
| RGB | rgb(40, 97, 188) |
| HSL | hsl(217, 65%, 45%) |
| HSV | hsv(217, 79%, 74%) |
| CMYK | cmyk(78.7%, 48.4%, 0%, 26.3%) |
| CIE-LAB | lab(42.20, 14.60, -53.19) |
| CIE-LCH | lch(42.20, 55.15, 285.35°) |
| OKLab | oklab(50.64% -0.0282 -0.1529) |
| OKLCH | oklch(50.64% 0.155 259.5) |
| XYZ | xyz(14.2236, 12.6297, 49.2553) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.26
Mid Blue
#276AB3
ΔE00 3.97
French Blue
#436BAD
ΔE00 4.01
Sapphire
#0F52BA
ΔE00 4.99
Medium Blue
#2C6FBB
ΔE00 5.23
Denim (survey)
#3B638C
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2861BC #BC8328
analogous
#28ABBC #2861BC #3928BC
triadic
#2861BC #BC2861 #61BC28
tetradic
#2861BC #BC28AB #BC8328 #28BC39
square
#2861BC #BC28AB #BC8328 #28BC39
split-complementary
#2861BC #BC3928 #ABBC28
monochromatic
#132D57 #1D478A #2861BC #4980D8 #7BA3E3
Accessibility & contrast
On white
5.96
#2861BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#2861BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2861BC
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2861BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2861BC | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6BBF
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2861bc; /* rgb */ color: rgb(40, 97, 188); /* oklch */ color: oklch(50.6% 0.155 259.5);
Tailwind
colors: {
custom: {
50: '#798dd1',
500: '#2861bc',
950: '#000000',
},
}SCSS
$custom: #2861bc; $custom-light: #798dd1; $custom-dark: #000000;
JSON
{
"hex": "#2861bc",
"rgb": {
"r": 40,
"g": 97,
"b": 188
},
"hsl": {
"h": 216.892,
"s": 64.912,
"l": 44.706
},
"oklch": {
"l": 0.50636,
"c": 0.15545,
"h": 259.5
},
"luminance": 0.12631
}Semantic roles & 50–950 ramp
primary
#2861BC
secondary
#CBAA75
accent
#A740E8
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82