#2861B2#2861B2
#2861B2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 49.9% C 0.142 H 257.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2861B2 |
|---|---|
| RGB | rgb(40, 97, 178) |
| HSL | hsl(215, 63%, 43%) |
| HSV | hsv(215, 78%, 70%) |
| CMYK | cmyk(77.5%, 45.5%, 0%, 30.2%) |
| CIE-LAB | lab(41.55, 10.74, -48.38) |
| CIE-LCH | lch(41.55, 49.56, 282.52°) |
| OKLab | oklab(49.93% -0.0299 -0.1387) |
| OKLCH | oklch(49.93% 0.142 257.8) |
| XYZ | xyz(13.1827, 12.2133, 43.7735) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.31
Mid Blue
#276AB3
ΔE00 3.50
French Blue
#436BAD
ΔE00 3.98
Denim (survey)
#3B638C
ΔE00 4.51
Denim Blue
#3B5B92
ΔE00 4.82
Medium Blue
#2C6FBB
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2861B2 #B27928
analogous
#28A6B2 #2861B2 #3428B2
triadic
#2861B2 #B22861 #61B228
tetradic
#2861B2 #B228A6 #B27928 #28B234
square
#2861B2 #B228A6 #B27928 #28B234
split-complementary
#2861B2 #B23428 #A6B228
monochromatic
#122B4E #1D4680 #2861B2 #437FD5 #75A1E0
Accessibility & contrast
On white
6.10
#2861B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#2861B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2861B2
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2861B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2861B2 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#185CB0
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2861b2; /* rgb */ color: rgb(40, 97, 178); /* oklch */ color: oklch(49.9% 0.142 257.8);
Tailwind
colors: {
custom: {
50: '#768dc9',
500: '#2861b2',
950: '#000000',
},
}SCSS
$custom: #2861b2; $custom-light: #768dc9; $custom-dark: #000000;
JSON
{
"hex": "#2861b2",
"rgb": {
"r": 40,
"g": 97,
"b": 178
},
"hsl": {
"h": 215.217,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.4993,
"c": 0.14192,
"h": 257.8
},
"luminance": 0.12215
}Semantic roles & 50–950 ramp
primary
#2861B2
secondary
#C7A36F
accent
#A241E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82