#2861B7#2861B7
#2861B7 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.149 H 258.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2861B7 |
|---|---|
| RGB | rgb(40, 97, 183) |
| HSL | hsl(216, 64%, 44%) |
| HSV | hsv(216, 78%, 72%) |
| CMYK | cmyk(78.1%, 47%, 0%, 28.2%) |
| CIE-LAB | lab(41.87, 12.67, -50.80) |
| CIE-LCH | lch(41.87, 52.35, 284.00°) |
| OKLab | oklab(50.28% -0.029 -0.1458) |
| OKLCH | oklch(50.28% 0.149 258.7) |
| XYZ | xyz(13.6939, 12.4178, 46.4657) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.11
Mid Blue
#276AB3
ΔE00 3.69
French Blue
#436BAD
ΔE00 3.94
Denim (survey)
#3B638C
ΔE00 4.94
Sapphire
#0F52BA
ΔE00 5.06
Medium Blue
#2C6FBB
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2861B7 #B77E28
analogous
#28A8B7 #2861B7 #3628B7
triadic
#2861B7 #B72861 #61B728
tetradic
#2861B7 #B728A8 #B77E28 #28B736
square
#2861B7 #B728A8 #B77E28 #28B736
split-complementary
#2861B7 #B73628 #A8B728
monochromatic
#122C53 #1D4685 #2861B7 #467FD6 #78A2E1
Accessibility & contrast
On white
6.03
#2861B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#2861B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2861B7
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2861B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2861B7 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326ABA
Deuteranopia (green-blind)
#095DB5
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2861b7; /* rgb */ color: rgb(40, 97, 183); /* oklch */ color: oklch(50.3% 0.149 258.7);
Tailwind
colors: {
custom: {
50: '#778dcd',
500: '#2861b7',
950: '#000000',
},
}SCSS
$custom: #2861b7; $custom-light: #778dcd; $custom-dark: #000000;
JSON
{
"hex": "#2861b7",
"rgb": {
"r": 40,
"g": 97,
"b": 183
},
"hsl": {
"h": 216.084,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.50279,
"c": 0.14869,
"h": 258.7
},
"luminance": 0.12419
}Semantic roles & 50–950 ramp
primary
#2861B7
secondary
#C9A672
accent
#A541E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82