#2C6CB6#2C6CB6

#2C6CB6 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.134 H 254.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2C6CB6
RGBrgb(44, 108, 182)
HSLhsl(212, 61%, 44%)
HSVhsv(212, 76%, 71%)
CMYKcmyk(75.8%, 40.7%, 0%, 28.6%)
CIE-LABlab(45.13, 5.75, -44.99)
CIE-LCHlch(45.13, 45.35, 277.28°)
OKLaboklab(52.82% -0.0362 -0.1285)
OKLCHoklch(52.82% 0.134 254.3)
XYZxyz(14.8416, 14.6363, 46.2898)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6CB6 #B6762C
analogous
#2CB1B6 #2C6CB6 #312CB6
triadic
#2C6CB6 #B62C6C #6CB62C
tetradic
#2C6CB6 #B62CB1 #B6762C #2CB631
square
#2C6CB6 #B62CB1 #B6762C #2CB631
split-complementary
#2C6CB6 #B6312C #B1B62C
monochromatic
#143253 #204F85 #2C6CB6 #4C8BD4 #7DABE0

Accessibility & contrast

On white

5.35
#2C6CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2C6CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6CB6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6CB6#FFFFFF#000000##FFFFFF
##2C6CB61.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4972B9
Deuteranopia (green-blind)
#3265B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c6cb6;
/* rgb */ color: rgb(44, 108, 182);
/* oklch */ color: oklch(52.8% 0.134 254.3);
Tailwind
colors: {
  custom: {
    50: '#7895cc',
    500: '#2c6cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2c6cb6;
$custom-light: #7895cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6cb6",
  "rgb": {
    "r": 44,
    "g": 108,
    "b": 182
  },
  "hsl": {
    "h": 212.174,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52819,
    "c": 0.1335,
    "h": 254.3
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#2C6CB6
secondary
#C8A276
accent
#9A44E4
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C6CB6

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

Preview Lab → · Contrast checker → · Palette generator →

#2C6CB6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva