#2C6CB8#2C6CB8

#2C6CB8 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.136 H 254.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2C6CB8
RGBrgb(44, 108, 184)
HSLhsl(213, 61%, 45%)
HSVhsv(213, 76%, 72%)
CMYKcmyk(76.1%, 41.3%, 0%, 27.8%)
CIE-LABlab(45.25, 6.50, -45.96)
CIE-LCHlch(45.25, 46.42, 278.05°)
OKLaboklab(52.95% -0.0357 -0.1314)
OKLCHoklch(52.95% 0.136 254.8)
XYZxyz(15.0498, 14.7196, 47.3861)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6CB8 #B8782C
analogous
#2CB2B8 #2C6CB8 #322CB8
triadic
#2C6CB8 #B82C6C #6CB82C
tetradic
#2C6CB8 #B82CB2 #B8782C #2CB832
square
#2C6CB8 #B82CB2 #B8782C #2CB832
split-complementary
#2C6CB8 #B8322C #B2B82C
monochromatic
#143255 #204F87 #2C6CB8 #4D8BD4 #7EABE0

Accessibility & contrast

On white

5.32
#2C6CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2C6CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6CB8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6CB8#FFFFFF#000000##FFFFFF
##2C6CB81.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4772BB
Deuteranopia (green-blind)
#3065B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c6cb8;
/* rgb */ color: rgb(44, 108, 184);
/* oklch */ color: oklch(52.9% 0.136 254.8);
Tailwind
colors: {
  custom: {
    50: '#7995ce',
    500: '#2c6cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2c6cb8;
$custom-light: #7995ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6cb8",
  "rgb": {
    "r": 44,
    "g": 108,
    "b": 184
  },
  "hsl": {
    "h": 212.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52947,
    "c": 0.13614,
    "h": 254.8
  },
  "luminance": 0.14721
}

Semantic roles & 50–950 ramp

primary
#2C6CB8
secondary
#C9A377
accent
#9B43E5
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C6CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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