#2862B4#2862B4
#2862B4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.3% C 0.143 H 257.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2862B4 |
|---|---|
| RGB | rgb(40, 98, 180) |
| HSL | hsl(215, 64%, 43%) |
| HSV | hsv(215, 78%, 71%) |
| CMYK | cmyk(77.8%, 45.6%, 0%, 29.4%) |
| CIE-LAB | lab(41.97, 10.87, -48.88) |
| CIE-LCH | lch(41.97, 50.08, 282.53°) |
| OKLab | oklab(50.29% -0.0304 -0.1402) |
| OKLCH | oklch(50.29% 0.143 257.8) |
| XYZ | xyz(13.4779, 12.4802, 44.8697) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.25
Mid Blue
#276AB3
ΔE00 3.19
French Blue
#436BAD
ΔE00 3.74
Denim (survey)
#3B638C
ΔE00 4.64
Medium Blue
#2C6FBB
ΔE00 4.76
Denim Blue
#3B5B92
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2862B4 #B47A28
analogous
#28A8B4 #2862B4 #3428B4
triadic
#2862B4 #B42862 #62B428
tetradic
#2862B4 #B428A8 #B47A28 #28B434
square
#2862B4 #B428A8 #B47A28 #28B434
split-complementary
#2862B4 #B43428 #A8B428
monochromatic
#122B50 #1D4782 #2862B4 #4480D5 #76A2E1
Accessibility & contrast
On white
6.01
#2862B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#2862B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2862B4
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2862B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2862B4 | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376AB7
Deuteranopia (green-blind)
#185DB2
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2862b4; /* rgb */ color: rgb(40, 98, 180); /* oklch */ color: oklch(50.3% 0.143 257.8);
Tailwind
colors: {
custom: {
50: '#778ecb',
500: '#2862b4',
950: '#000000',
},
}SCSS
$custom: #2862b4; $custom-light: #778ecb; $custom-dark: #000000;
JSON
{
"hex": "#2862b4",
"rgb": {
"r": 40,
"g": 98,
"b": 180
},
"hsl": {
"h": 215.143,
"s": 63.636,
"l": 43.137
},
"oklch": {
"l": 0.50292,
"c": 0.14344,
"h": 257.8
},
"luminance": 0.12482
}Semantic roles & 50–950 ramp
primary
#2862B4
secondary
#C8A370
accent
#A241E7
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82