#2C6CB7#2C6CB7

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

Color values

HEX#2C6CB7
RGBrgb(44, 108, 183)
HSLhsl(212, 61%, 45%)
HSVhsv(212, 76%, 72%)
CMYKcmyk(76%, 41%, 0%, 28.2%)
CIE-LABlab(45.19, 6.12, -45.47)
CIE-LCHlch(45.19, 45.89, 277.67°)
OKLaboklab(52.88% -0.036 -0.1299)
OKLCHoklch(52.88% 0.135 254.5)
XYZxyz(14.9453, 14.6778, 46.8360)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6CB7 #B7772C
analogous
#2CB2B7 #2C6CB7 #322CB7
triadic
#2C6CB7 #B72C6C #6CB72C
tetradic
#2C6CB7 #B72CB2 #B7772C #2CB732
square
#2C6CB7 #B72CB2 #B7772C #2CB732
split-complementary
#2C6CB7 #B7322C #B2B72C
monochromatic
#143254 #204F86 #2C6CB7 #4C8BD4 #7EABE0

Accessibility & contrast

On white

5.34
#2C6CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C6CB7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6CB7#FFFFFF#000000##FFFFFF
##2C6CB71.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BA
Deuteranopia (green-blind)
#3165B6
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c6cb7;
/* rgb */ color: rgb(44, 108, 183);
/* oklch */ color: oklch(52.9% 0.135 254.5);
Tailwind
colors: {
  custom: {
    50: '#7995cd',
    500: '#2c6cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2c6cb7;
$custom-light: #7995cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6cb7",
  "rgb": {
    "r": 44,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 212.374,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.13481,
    "h": 254.5
  },
  "luminance": 0.14679
}

Semantic roles & 50–950 ramp

primary
#2C6CB7
secondary
#C8A376
accent
#9A43E4
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C6CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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