#2864C7#2864C7
#2864C7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.1% C 0.167 H 260.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2864C7 |
|---|---|
| RGB | rgb(40, 100, 199) |
| HSL | hsl(217, 67%, 47%) |
| HSV | hsv(217, 80%, 78%) |
| CMYK | cmyk(79.9%, 49.7%, 0%, 22%) |
| CIE-LAB | lab(43.78, 16.88, -57.01) |
| CIE-LCH | lch(43.78, 59.46, 286.49°) |
| OKLab | oklab(52.08% -0.0289 -0.1641) |
| OKLCH | oklch(52.08% 0.167 260) |
| XYZ | xyz(15.7373, 13.6871, 55.8342) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.36
French Blue
#436BAD
ΔE00 3.84
Mid Blue
#276AB3
ΔE00 3.91
Medium Blue
#2C6FBB
ΔE00 4.57
Royal Blue
#4169E1
ΔE00 5.10
Azul
#1D5DEC
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2864C7 #C78B28
analogous
#28B4C7 #2864C7 #3B28C7
triadic
#2864C7 #C72864 #64C728
tetradic
#2864C7 #C728B4 #C78B28 #28C73B
square
#2864C7 #C728B4 #C78B28 #28C73B
split-complementary
#2864C7 #C73B28 #B4C728
monochromatic
#143161 #1E4A94 #2864C7 #5085DC #83A9E6
Accessibility & contrast
On white
5.62
#2864C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#2864C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2864C7
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2864C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2864C7 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#276FCB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#007C8C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2864c7; /* rgb */ color: rgb(40, 100, 199); /* oklch */ color: oklch(52.1% 0.167 260.0);
Tailwind
colors: {
custom: {
50: '#7b8fd9',
500: '#2864c7',
950: '#000000',
},
}SCSS
$custom: #2864c7; $custom-light: #7b8fd9; $custom-dark: #000000;
JSON
{
"hex": "#2864c7",
"rgb": {
"r": 40,
"g": 100,
"b": 199
},
"hsl": {
"h": 217.358,
"s": 66.527,
"l": 46.863
},
"oklch": {
"l": 0.52083,
"c": 0.16659,
"h": 260
},
"luminance": 0.13689
}Semantic roles & 50–950 ramp
primary
#2864C7
secondary
#CFB07C
accent
#A93EE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83