#2866B3#2866B3

#2866B3 is a mid, vivid cyan. Relative luminance 0.132; OKLCH L 51.1% C 0.137 H 255.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2866B3
RGBrgb(40, 102, 179)
HSLhsl(213, 63%, 43%)
HSVhsv(213, 78%, 70%)
CMYKcmyk(77.7%, 43%, 0%, 29.8%)
CIE-LABlab(43.07, 7.91, -46.53)
CIE-LCHlch(43.07, 47.20, 279.65°)
OKLaboklab(51.13% -0.034 -0.1332)
OKLCHoklch(51.13% 0.137 255.7)
XYZxyz(13.7601, 13.2069, 44.4631)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866B3 #B37528
analogous
#28ABB3 #2866B3 #2F28B3
triadic
#2866B3 #B32866 #66B328
tetradic
#2866B3 #B328AB #B37528 #28B32F
square
#2866B3 #B328AB #B37528 #28B32F
split-complementary
#2866B3 #B32F28 #ABB328
monochromatic
#122D4F #1D4981 #2866B3 #4384D5 #75A5E0

Accessibility & contrast

On white

5.77
#2866B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2866B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2866B3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2866B3#FFFFFF#000000##FFFFFF
##2866B31.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406DB6
Deuteranopia (green-blind)
#2660B1
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2866b3;
/* rgb */ color: rgb(40, 102, 179);
/* oklch */ color: oklch(51.1% 0.137 255.7);
Tailwind
colors: {
  custom: {
    50: '#7691ca',
    500: '#2866b3',
    950: '#000000',
  },
}
SCSS
$custom: #2866b3;
$custom-light: #7691ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2866b3",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 179
  },
  "hsl": {
    "h": 213.237,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51127,
    "c": 0.13746,
    "h": 255.7
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#2866B3
secondary
#C8A06F
accent
#9D41E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2866B3

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

Preview Lab → · Contrast checker → · Palette generator →

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