#2862B5#2862B5
#2862B5 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.145 H 258.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2862B5 |
|---|---|
| RGB | rgb(40, 98, 181) |
| HSL | hsl(215, 64%, 43%) |
| HSV | hsv(215, 78%, 71%) |
| CMYK | cmyk(77.9%, 45.9%, 0%, 29%) |
| CIE-LAB | lab(42.03, 11.25, -49.37) |
| CIE-LCH | lch(42.03, 50.63, 282.84°) |
| OKLab | oklab(50.36% -0.0302 -0.1416) |
| OKLCH | oklch(50.36% 0.145 258) |
| XYZ | xyz(13.5802, 12.5211, 45.4082) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.20
Mid Blue
#276AB3
ΔE00 3.23
French Blue
#436BAD
ΔE00 3.73
Denim (survey)
#3B638C
ΔE00 4.73
Medium Blue
#2C6FBB
ΔE00 4.77
Denim Blue
#3B5B92
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2862B5 #B57B28
analogous
#28A8B5 #2862B5 #3428B5
triadic
#2862B5 #B52862 #62B528
tetradic
#2862B5 #B528A8 #B57B28 #28B534
square
#2862B5 #B528A8 #B57B28 #28B534
split-complementary
#2862B5 #B53428 #A8B528
monochromatic
#122C51 #1D4783 #2862B5 #4480D6 #77A2E1
Accessibility & contrast
On white
5.99
#2862B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#2862B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2862B5
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2862B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2862B5 | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366AB8
Deuteranopia (green-blind)
#155DB3
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2862b5; /* rgb */ color: rgb(40, 98, 181); /* oklch */ color: oklch(50.4% 0.145 258.0);
Tailwind
colors: {
custom: {
50: '#778ecc',
500: '#2862b5',
950: '#000000',
},
}SCSS
$custom: #2862b5; $custom-light: #778ecc; $custom-dark: #000000;
JSON
{
"hex": "#2862b5",
"rgb": {
"r": 40,
"g": 98,
"b": 181
},
"hsl": {
"h": 215.319,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.50361,
"c": 0.1448,
"h": 258
},
"luminance": 0.12523
}Semantic roles & 50–950 ramp
primary
#2862B5
secondary
#C8A470
accent
#A341E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82