#2867C6#2867C6
#2867C6 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.7% C 0.162 H 258.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2867C6 |
|---|---|
| RGB | rgb(40, 103, 198) |
| HSL | hsl(216, 66%, 47%) |
| HSV | hsv(216, 80%, 78%) |
| CMYK | cmyk(79.8%, 48%, 0%, 22.4%) |
| CIE-LAB | lab(44.56, 14.57, -55.18) |
| CIE-LCH | lch(44.56, 57.07, 284.79°) |
| OKLab | oklab(52.66% -0.0313 -0.1586) |
| OKLCH | oklch(52.66% 0.162 258.8) |
| XYZ | xyz(15.9146, 14.2269, 55.3224) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.79
Mid Blue
#276AB3
ΔE00 3.05
French Blue
#436BAD
ΔE00 3.37
Medium Blue
#2C6FBB
ΔE00 3.45
Cerulean Blue
#056EEE
ΔE00 5.04
Royal Blue
#4169E1
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2867C6 #C68728
analogous
#28B6C6 #2867C6 #3828C6
triadic
#2867C6 #C62867 #67C628
tetradic
#2867C6 #C628B6 #C68728 #28C638
square
#2867C6 #C628B6 #C68728 #28C638
split-complementary
#2867C6 #C63828 #B6C628
monochromatic
#133260 #1E4D93 #2867C6 #5087DC #83AAE6
Accessibility & contrast
On white
5.46
#2867C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#2867C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2867C6
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2867C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2867C6 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3171CA
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#007E8D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #2867c6; /* rgb */ color: rgb(40, 103, 198); /* oklch */ color: oklch(52.7% 0.162 258.8);
Tailwind
colors: {
custom: {
50: '#7b91d8',
500: '#2867c6',
950: '#000000',
},
}SCSS
$custom: #2867c6; $custom-light: #7b91d8; $custom-dark: #000000;
JSON
{
"hex": "#2867c6",
"rgb": {
"r": 40,
"g": 103,
"b": 198
},
"hsl": {
"h": 216.076,
"s": 66.387,
"l": 46.667
},
"oklch": {
"l": 0.52657,
"c": 0.16169,
"h": 258.8
},
"luminance": 0.14229
}Semantic roles & 50–950 ramp
primary
#2867C6
secondary
#CFAD7B
accent
#A53EE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83