#2862B7#2862B7
#2862B7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.148 H 258.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2862B7 |
|---|---|
| RGB | rgb(40, 98, 183) |
| HSL | hsl(216, 64%, 44%) |
| HSV | hsv(216, 78%, 72%) |
| CMYK | cmyk(78.1%, 46.4%, 0%, 28.2%) |
| CIE-LAB | lab(42.16, 12.02, -50.33) |
| CIE-LCH | lch(42.16, 51.75, 283.43°) |
| OKLab | oklab(50.5% -0.0298 -0.1445) |
| OKLCH | oklch(50.5% 0.148 258.3) |
| XYZ | xyz(13.7869, 12.6038, 46.4967) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.14
Mid Blue
#276AB3
ΔE00 3.32
French Blue
#436BAD
ΔE00 3.72
Medium Blue
#2C6FBB
ΔE00 4.78
Denim (survey)
#3B638C
ΔE00 4.91
Denim Blue
#3B5B92
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2862B7 #B77D28
analogous
#28A9B7 #2862B7 #3528B7
triadic
#2862B7 #B72862 #62B728
tetradic
#2862B7 #B728A9 #B77D28 #28B735
square
#2862B7 #B728A9 #B77D28 #28B735
split-complementary
#2862B7 #B73528 #A9B728
monochromatic
#122C53 #1D4785 #2862B7 #4680D6 #78A3E1
Accessibility & contrast
On white
5.96
#2862B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#2862B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2862B7
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2862B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2862B7 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346ABA
Deuteranopia (green-blind)
#0F5DB5
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2862b7; /* rgb */ color: rgb(40, 98, 183); /* oklch */ color: oklch(50.5% 0.148 258.3);
Tailwind
colors: {
custom: {
50: '#778ecd',
500: '#2862b7',
950: '#000000',
},
}SCSS
$custom: #2862b7; $custom-light: #778ecd; $custom-dark: #000000;
JSON
{
"hex": "#2862b7",
"rgb": {
"r": 40,
"g": 98,
"b": 183
},
"hsl": {
"h": 215.664,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.505,
"c": 0.14751,
"h": 258.3
},
"luminance": 0.12605
}Semantic roles & 50–950 ramp
primary
#2862B7
secondary
#C9A672
accent
#A441E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82