#2867C7#2867C7
#2867C7 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.7% C 0.163 H 259.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2867C7 |
|---|---|
| RGB | rgb(40, 103, 199) |
| HSL | hsl(216, 67%, 47%) |
| HSV | hsv(216, 80%, 78%) |
| CMYK | cmyk(79.9%, 48.2%, 0%, 22%) |
| CIE-LAB | lab(44.62, 14.95, -55.65) |
| CIE-LCH | lch(44.62, 57.63, 285.03°) |
| OKLab | oklab(52.73% -0.0311 -0.16) |
| OKLCH | oklch(52.73% 0.163 259) |
| XYZ | xyz(16.0303, 14.2732, 55.9319) |
| Luminance | 0.1427 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.87
Mid Blue
#276AB3
ΔE00 3.17
French Blue
#436BAD
ΔE00 3.43
Medium Blue
#2C6FBB
ΔE00 3.52
Cerulean Blue
#056EEE
ΔE00 4.94
Royal Blue
#4169E1
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2867C7 #C78828
analogous
#28B7C7 #2867C7 #3828C7
triadic
#2867C7 #C72867 #67C728
tetradic
#2867C7 #C728B7 #C78828 #28C738
square
#2867C7 #C728B7 #C78828 #28C738
split-complementary
#2867C7 #C73828 #B7C728
monochromatic
#143261 #1E4D94 #2867C7 #5088DC #83AAE6
Accessibility & contrast
On white
5.45
#2867C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#2867C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2867C7
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2867C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2867C7 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3071CB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#007E8D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2867c7; /* rgb */ color: rgb(40, 103, 199); /* oklch */ color: oklch(52.7% 0.163 259.0);
Tailwind
colors: {
custom: {
50: '#7b91d9',
500: '#2867c7',
950: '#000000',
},
}SCSS
$custom: #2867c7; $custom-light: #7b91d9; $custom-dark: #000000;
JSON
{
"hex": "#2867c7",
"rgb": {
"r": 40,
"g": 103,
"b": 199
},
"hsl": {
"h": 216.226,
"s": 66.527,
"l": 46.863
},
"oklch": {
"l": 0.52729,
"c": 0.16302,
"h": 259
},
"luminance": 0.14275
}Semantic roles & 50–950 ramp
primary
#2867C7
secondary
#CFAE7C
accent
#A63EE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83