#2862C3#2862C3
#2862C3 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.4% C 0.164 H 260.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2862C3 |
|---|---|
| RGB | rgb(40, 98, 195) |
| HSL | hsl(218, 66%, 46%) |
| HSV | hsv(218, 79%, 76%) |
| CMYK | cmyk(79.5%, 49.7%, 0%, 23.5%) |
| CIE-LAB | lab(42.95, 16.64, -56.04) |
| CIE-LCH | lch(42.95, 58.46, 286.54°) |
| OKLab | oklab(51.36% -0.0279 -0.1612) |
| OKLCH | oklch(51.36% 0.164 260.2) |
| XYZ | xyz(15.0895, 13.1248, 53.3572) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.84
French Blue
#436BAD
ΔE00 4.03
Mid Blue
#276AB3
ΔE00 4.14
Medium Blue
#2C6FBB
ΔE00 5.09
Sapphire
#0F52BA
ΔE00 5.38
Azul
#1D5DEC
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2862C3 #C38928
analogous
#28AFC3 #2862C3 #3B28C3
triadic
#2862C3 #C32862 #62C328
tetradic
#2862C3 #C328AF #C38928 #28C33B
square
#2862C3 #C328AF #C38928 #28C33B
split-complementary
#2862C3 #C33B28 #AFC328
monochromatic
#132F5D #1E4890 #2862C3 #4E82DB #80A6E5
Accessibility & contrast
On white
5.79
#2862C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#2862C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2862C3
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2862C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2862C3 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#276DC7
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#007989
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2862c3; /* rgb */ color: rgb(40, 98, 195); /* oklch */ color: oklch(51.4% 0.164 260.2);
Tailwind
colors: {
custom: {
50: '#7a8ed6',
500: '#2862c3',
950: '#000000',
},
}SCSS
$custom: #2862c3; $custom-light: #7a8ed6; $custom-dark: #000000;
JSON
{
"hex": "#2862c3",
"rgb": {
"r": 40,
"g": 98,
"b": 195
},
"hsl": {
"h": 217.548,
"s": 65.957,
"l": 46.078
},
"oklch": {
"l": 0.51361,
"c": 0.16365,
"h": 260.2
},
"luminance": 0.13127
}Semantic roles & 50–950 ramp
primary
#2862C3
secondary
#CEAE79
accent
#A93FE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83