#2861B3#2861B3
#2861B3 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.0% C 0.143 H 258.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2861B3 |
|---|---|
| RGB | rgb(40, 97, 179) |
| HSL | hsl(215, 63%, 43%) |
| HSV | hsv(215, 78%, 70%) |
| CMYK | cmyk(77.7%, 45.8%, 0%, 29.8%) |
| CIE-LAB | lab(41.62, 11.13, -48.86) |
| CIE-LCH | lch(41.62, 50.12, 282.83°) |
| OKLab | oklab(50% -0.0297 -0.1402) |
| OKLCH | oklch(50% 0.143 258) |
| XYZ | xyz(13.2835, 12.2536, 44.3042) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.25
Mid Blue
#276AB3
ΔE00 3.53
French Blue
#436BAD
ΔE00 3.96
Denim (survey)
#3B638C
ΔE00 4.60
Denim Blue
#3B5B92
ΔE00 4.89
Medium Blue
#2C6FBB
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2861B3 #B37A28
analogous
#28A6B3 #2861B3 #3528B3
triadic
#2861B3 #B32861 #61B328
tetradic
#2861B3 #B328A6 #B37A28 #28B335
square
#2861B3 #B328A6 #B37A28 #28B335
split-complementary
#2861B3 #B33528 #A6B328
monochromatic
#122B4F #1D4681 #2861B3 #437FD5 #75A1E0
Accessibility & contrast
On white
6.09
#2861B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#2861B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2861B3
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2861B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2861B3 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#165CB1
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2861b3; /* rgb */ color: rgb(40, 97, 179); /* oklch */ color: oklch(50.0% 0.143 258.0);
Tailwind
colors: {
custom: {
50: '#778dca',
500: '#2861b3',
950: '#000000',
},
}SCSS
$custom: #2861b3; $custom-light: #778dca; $custom-dark: #000000;
JSON
{
"hex": "#2861b3",
"rgb": {
"r": 40,
"g": 97,
"b": 179
},
"hsl": {
"h": 215.396,
"s": 63.47,
"l": 42.941
},
"oklch": {
"l": 0.49999,
"c": 0.14328,
"h": 258
},
"luminance": 0.12255
}Semantic roles & 50–950 ramp
primary
#2861B3
secondary
#C8A36F
accent
#A341E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82