#2868C6#2868C6
#2868C6 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 52.9% C 0.161 H 258.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2868C6 |
|---|---|
| RGB | rgb(40, 104, 198) |
| HSL | hsl(216, 66%, 47%) |
| HSV | hsv(216, 80%, 78%) |
| CMYK | cmyk(79.8%, 47.5%, 0%, 22.4%) |
| CIE-LAB | lab(44.84, 13.92, -54.73) |
| CIE-LCH | lch(44.84, 56.47, 284.27°) |
| OKLab | oklab(52.88% -0.0321 -0.1573) |
| OKLCH | oklch(52.88% 0.161 258.5) |
| XYZ | xyz(16.0147, 14.4270, 55.3558) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mid Blue
#276AB3
ΔE00 2.85
Denim
#1560BD
ΔE00 3.05
Medium Blue
#2C6FBB
ΔE00 3.10
French Blue
#436BAD
ΔE00 3.31
Cerulean Blue
#056EEE
ΔE00 4.87
Flat Blue
#3C73A8
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2868C6 #C68628
analogous
#28B7C6 #2868C6 #3728C6
triadic
#2868C6 #C62868 #68C628
tetradic
#2868C6 #C628B7 #C68628 #28C637
square
#2868C6 #C628B7 #C68628 #28C637
split-complementary
#2868C6 #C63728 #B7C628
monochromatic
#133360 #1E4D93 #2868C6 #5088DC #83ABE6
Accessibility & contrast
On white
5.40
#2868C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#2868C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2868C6
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2868C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2868C6 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3372C9
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2868c6; /* rgb */ color: rgb(40, 104, 198); /* oklch */ color: oklch(52.9% 0.161 258.5);
Tailwind
colors: {
custom: {
50: '#7b92d8',
500: '#2868c6',
950: '#000000',
},
}SCSS
$custom: #2868c6; $custom-light: #7b92d8; $custom-dark: #000000;
JSON
{
"hex": "#2868c6",
"rgb": {
"r": 40,
"g": 104,
"b": 198
},
"hsl": {
"h": 215.696,
"s": 66.387,
"l": 46.667
},
"oklch": {
"l": 0.52875,
"c": 0.16051,
"h": 258.5
},
"luminance": 0.14429
}Semantic roles & 50–950 ramp
primary
#2868C6
secondary
#CFAD7B
accent
#A43EE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83