#2862B2#2862B2
#2862B2 is a mid, vivid cyan. Relative luminance 0.124; OKLCH L 50.2% C 0.141 H 257.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2862B2 |
|---|---|
| RGB | rgb(40, 98, 178) |
| HSL | hsl(215, 63%, 43%) |
| HSV | hsv(215, 78%, 70%) |
| CMYK | cmyk(77.5%, 44.9%, 0%, 30.2%) |
| CIE-LAB | lab(41.84, 10.10, -47.91) |
| CIE-LCH | lch(41.84, 48.97, 281.90°) |
| OKLab | oklab(50.16% -0.0307 -0.1373) |
| OKLCH | oklch(50.16% 0.141 257.4) |
| XYZ | xyz(13.2757, 12.3993, 43.8045) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim
#1560BD
ΔE00 1.38
Mid Blue
#276AB3
ΔE00 3.12
French Blue
#436BAD
ΔE00 3.77
Denim (survey)
#3B638C
ΔE00 4.47
Medium Blue
#2C6FBB
ΔE00 4.77
Denim Blue
#3B5B92
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2862B2 #B27828
analogous
#28A7B2 #2862B2 #3328B2
triadic
#2862B2 #B22862 #62B228
tetradic
#2862B2 #B228A7 #B27828 #28B233
square
#2862B2 #B228A7 #B27828 #28B233
split-complementary
#2862B2 #B23328 #A7B228
monochromatic
#122B4E #1D4680 #2862B2 #4380D5 #75A2E0
Accessibility & contrast
On white
6.03
#2862B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#2862B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2862B2
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2862B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2862B2 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3969B5
Deuteranopia (green-blind)
#1C5DB0
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2862b2; /* rgb */ color: rgb(40, 98, 178); /* oklch */ color: oklch(50.2% 0.141 257.4);
Tailwind
colors: {
custom: {
50: '#768ec9',
500: '#2862b2',
950: '#000000',
},
}SCSS
$custom: #2862b2; $custom-light: #768ec9; $custom-dark: #000000;
JSON
{
"hex": "#2862b2",
"rgb": {
"r": 40,
"g": 98,
"b": 178
},
"hsl": {
"h": 214.783,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.50155,
"c": 0.14074,
"h": 257.4
},
"luminance": 0.12401
}Semantic roles & 50–950 ramp
primary
#2862B2
secondary
#C7A26F
accent
#A141E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82