#2866A2#2866A2

#2866A2 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 50.0% C 0.115 H 250.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2866A2
RGBrgb(40, 102, 162)
HSLhsl(210, 60%, 40%)
HSVhsv(210, 75%, 64%)
CMYKcmyk(75.3%, 37%, 0%, 36.5%)
CIE-LABlab(42.09, 1.44, -38.08)
CIE-LCHlch(42.09, 38.11, 272.16°)
OKLaboklab(50.05% -0.0381 -0.1084)
OKLCHoklch(50.05% 0.115 250.7)
XYZxyz(12.1456, 12.5611, 35.9598)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866A2 #A26428
analogous
#28A2A1 #2866A2 #2829A2
triadic
#2866A2 #A22866 #66A228
tetradic
#2866A2 #A128A2 #A26428 #29A228
square
#2866A2 #A128A2 #A26428 #29A228
split-complementary
#2866A2 #A22829 #A2A128
monochromatic
#102840 #1C4771 #2866A2 #3985CE #6AA3DA

Accessibility & contrast

On white

5.98
#2866A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2866A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2866A2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2866A2#FFFFFF#000000##FFFFFF
##2866A21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA4
Deuteranopia (green-blind)
#385EA1
Tritanopia (blue-blind)
#00747C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2866a2;
/* rgb */ color: rgb(40, 102, 162);
/* oklch */ color: oklch(50.0% 0.115 250.7);
Tailwind
colors: {
  custom: {
    50: '#7391be',
    500: '#2866a2',
    950: '#000000',
  },
}
SCSS
$custom: #2866a2;
$custom-light: #7391be;
$custom-dark: #000000;
JSON
{
  "hex": "#2866a2",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 162
  },
  "hsl": {
    "h": 209.508,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50046,
    "c": 0.11489,
    "h": 250.7
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#2866A2
secondary
#C19265
accent
#9344E4
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2866A2

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

Preview Lab → · Contrast checker → · Palette generator →

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