#2866BA#2866BA

#2866BA is a mid, vivid cyan. Relative luminance 0.135; OKLCH L 51.6% C 0.147 H 257.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2866BA
RGBrgb(40, 102, 186)
HSLhsl(215, 65%, 44%)
HSVhsv(215, 78%, 73%)
CMYKcmyk(78.5%, 45.2%, 0%, 27.1%)
CIE-LABlab(43.50, 10.60, -49.93)
CIE-LCHlch(43.50, 51.04, 281.99°)
OKLaboklab(51.6% -0.0326 -0.1432)
OKLCHoklch(51.6% 0.147 257.2)
XYZxyz(14.4861, 13.4973, 48.2866)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866BA #BA7C28
analogous
#28AFBA #2866BA #3328BA
triadic
#2866BA #BA2866 #66BA28
tetradic
#2866BA #BA28AF #BA7C28 #28BA33
square
#2866BA #BA28AF #BA7C28 #28BA33
split-complementary
#2866BA #BA3328 #AFBA28
monochromatic
#122F55 #1D4A88 #2866BA #4885D8 #7AA6E2

Accessibility & contrast

On white

5.68
#2866BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2866BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2866BA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2866BA#FFFFFF#000000##FFFFFF
##2866BA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#1A61B8
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2866ba;
/* rgb */ color: rgb(40, 102, 186);
/* oklch */ color: oklch(51.6% 0.147 257.2);
Tailwind
colors: {
  custom: {
    50: '#7891cf',
    500: '#2866ba',
    950: '#000000',
  },
}
SCSS
$custom: #2866ba;
$custom-light: #7891cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2866ba",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 186
  },
  "hsl": {
    "h": 214.521,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51599,
    "c": 0.14684,
    "h": 257.2
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#2866BA
secondary
#CAA573
accent
#A140E8
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2866BA

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

Preview Lab → · Contrast checker → · Palette generator →

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