#2862BA#2862BA
#2862BA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.152 H 258.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2862BA |
|---|---|
| RGB | rgb(40, 98, 186) |
| HSL | hsl(216, 65%, 44%) |
| HSV | hsv(216, 78%, 73%) |
| CMYK | cmyk(78.5%, 47.3%, 0%, 27.1%) |
| CIE-LAB | lab(42.35, 13.18, -51.77) |
| CIE-LCH | lch(42.35, 53.42, 284.28°) |
| OKLab | oklab(50.71% -0.0293 -0.1487) |
| OKLCH | oklch(50.71% 0.152 258.8) |
| XYZ | xyz(14.1024, 12.7300, 48.1587) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.16
Mid Blue
#276AB3
ΔE00 3.49
French Blue
#436BAD
ΔE00 3.74
Medium Blue
#2C6FBB
ΔE00 4.82
Denim (survey)
#3B638C
ΔE00 5.18
Sapphire
#0F52BA
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2862BA #BA8028
analogous
#28ABBA #2862BA #3728BA
triadic
#2862BA #BA2862 #62BA28
tetradic
#2862BA #BA28AB #BA8028 #28BA37
square
#2862BA #BA28AB #BA8028 #28BA37
split-complementary
#2862BA #BA3728 #ABBA28
monochromatic
#122D55 #1D4788 #2862BA #4881D8 #7AA3E2
Accessibility & contrast
On white
5.92
#2862BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#2862BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2862BA
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2862BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2862BA | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316BBD
Deuteranopia (green-blind)
#035EB8
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2862ba; /* rgb */ color: rgb(40, 98, 186); /* oklch */ color: oklch(50.7% 0.152 258.8);
Tailwind
colors: {
custom: {
50: '#788ecf',
500: '#2862ba',
950: '#000000',
},
}SCSS
$custom: #2862ba; $custom-light: #788ecf; $custom-dark: #000000;
JSON
{
"hex": "#2862ba",
"rgb": {
"r": 40,
"g": 98,
"b": 186
},
"hsl": {
"h": 216.164,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.50712,
"c": 0.15155,
"h": 258.8
},
"luminance": 0.12732
}Semantic roles & 50–950 ramp
primary
#2862BA
secondary
#CAA873
accent
#A540E8
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82