#2861B4#2861B4
#2861B4 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.1% C 0.145 H 258.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2861B4 |
|---|---|
| RGB | rgb(40, 97, 180) |
| HSL | hsl(216, 64%, 43%) |
| HSV | hsv(216, 78%, 71%) |
| CMYK | cmyk(77.8%, 46.1%, 0%, 29.4%) |
| CIE-LAB | lab(41.68, 11.51, -49.35) |
| CIE-LCH | lch(41.68, 50.67, 283.13°) |
| OKLab | oklab(50.07% -0.0295 -0.1416) |
| OKLCH | oklch(50.07% 0.145 258.2) |
| XYZ | xyz(13.3850, 12.2942, 44.8388) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.19
Mid Blue
#276AB3
ΔE00 3.57
French Blue
#436BAD
ΔE00 3.95
Denim (survey)
#3B638C
ΔE00 4.68
Denim Blue
#3B5B92
ΔE00 4.96
Medium Blue
#2C6FBB
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2861B4 #B47B28
analogous
#28A7B4 #2861B4 #3528B4
triadic
#2861B4 #B42861 #61B428
tetradic
#2861B4 #B428A7 #B47B28 #28B435
square
#2861B4 #B428A7 #B47B28 #28B435
split-complementary
#2861B4 #B43528 #A7B428
monochromatic
#122B50 #1D4682 #2861B4 #447FD5 #76A1E1
Accessibility & contrast
On white
6.07
#2861B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#2861B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2861B4
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2861B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2861B4 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3569B7
Deuteranopia (green-blind)
#135CB2
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2861b4; /* rgb */ color: rgb(40, 97, 180); /* oklch */ color: oklch(50.1% 0.145 258.2);
Tailwind
colors: {
custom: {
50: '#778dcb',
500: '#2861b4',
950: '#000000',
},
}SCSS
$custom: #2861b4; $custom-light: #778dcb; $custom-dark: #000000;
JSON
{
"hex": "#2861b4",
"rgb": {
"r": 40,
"g": 97,
"b": 180
},
"hsl": {
"h": 215.571,
"s": 63.636,
"l": 43.137
},
"oklch": {
"l": 0.50069,
"c": 0.14463,
"h": 258.2
},
"luminance": 0.12296
}Semantic roles & 50–950 ramp
primary
#2861B4
secondary
#C8A470
accent
#A341E7
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82