#2C6CB5#2C6CB5

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

Color values

HEX#2C6CB5
RGBrgb(44, 108, 181)
HSLhsl(212, 61%, 44%)
HSVhsv(212, 76%, 71%)
CMYKcmyk(75.7%, 40.3%, 0%, 29%)
CIE-LABlab(45.07, 5.37, -44.49)
CIE-LCHlch(45.07, 44.82, 276.88°)
OKLaboklab(52.76% -0.0364 -0.1271)
OKLCHoklch(52.76% 0.132 254)
XYZxyz(14.7387, 14.5951, 45.7475)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6CB5 #B5752C
analogous
#2CB1B5 #2C6CB5 #312CB5
triadic
#2C6CB5 #B52C6C #6CB52C
tetradic
#2C6CB5 #B52CB1 #B5752C #2CB531
square
#2C6CB5 #B52CB1 #B5752C #2CB531
split-complementary
#2C6CB5 #B5312C #B1B52C
monochromatic
#143153 #204F84 #2C6CB5 #4B8BD3 #7CAADF

Accessibility & contrast

On white

5.36
#2C6CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2C6CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6CB5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6CB5#FFFFFF#000000##FFFFFF
##2C6CB51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4971B8
Deuteranopia (green-blind)
#3365B4
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c6cb5;
/* rgb */ color: rgb(44, 108, 181);
/* oklch */ color: oklch(52.8% 0.132 254.0);
Tailwind
colors: {
  custom: {
    50: '#7895cb',
    500: '#2c6cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2c6cb5;
$custom-light: #7895cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6cb5",
  "rgb": {
    "r": 44,
    "g": 108,
    "b": 181
  },
  "hsl": {
    "h": 211.971,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52756,
    "c": 0.13218,
    "h": 254
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

primary
#2C6CB5
secondary
#C8A175
accent
#9944E4
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C6CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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