#2866BD#2866BD

#2866BD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 51.8% C 0.151 H 257.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2866BD
RGBrgb(40, 102, 189)
HSLhsl(215, 65%, 45%)
HSVhsv(215, 79%, 74%)
CMYKcmyk(78.8%, 46%, 0%, 25.9%)
CIE-LABlab(43.69, 11.75, -51.37)
CIE-LCHlch(43.69, 52.69, 282.89°)
OKLaboklab(51.81% -0.032 -0.1474)
OKLCHoklch(51.81% 0.151 257.7)
XYZxyz(14.8084, 13.6262, 49.9839)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866BD #BD7F28
analogous
#28B0BD #2866BD #3528BD
triadic
#2866BD #BD2866 #66BD28
tetradic
#2866BD #BD28B0 #BD7F28 #28BD35
square
#2866BD #BD28B0 #BD7F28 #28BD35
split-complementary
#2866BD #BD3528 #B0BD28
monochromatic
#132F58 #1D4B8A #2866BD #4A85D9 #7CA7E3

Accessibility & contrast

On white

5.64
#2866BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2866BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2866BD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2866BD#FFFFFF#000000##FFFFFF
##2866BD1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EC0
Deuteranopia (green-blind)
#1261BB
Tritanopia (blue-blind)
#007B88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2866bd;
/* rgb */ color: rgb(40, 102, 189);
/* oklch */ color: oklch(51.8% 0.151 257.7);
Tailwind
colors: {
  custom: {
    50: '#7991d1',
    500: '#2866bd',
    950: '#000000',
  },
}
SCSS
$custom: #2866bd;
$custom-light: #7991d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2866bd",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 215.034,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51805,
    "c": 0.15086,
    "h": 257.7
  },
  "luminance": 0.13628
}

Semantic roles & 50–950 ramp

primary
#2866BD
secondary
#CBA875
accent
#A240E8
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2866BD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2866BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva