#2C6EC7#2C6EC7

#2C6EC7 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.4% C 0.154 H 257.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2C6EC7
RGBrgb(44, 110, 199)
HSLhsl(214, 64%, 48%)
HSVhsv(214, 78%, 78%)
CMYKcmyk(77.9%, 44.7%, 0%, 22%)
CIE-LABlab(46.72, 10.91, -52.27)
CIE-LCHlch(46.72, 53.40, 281.79°)
OKLaboklab(54.38% -0.0344 -0.1499)
OKLCHoklch(54.38% 0.154 257.1)
XYZxyz(16.9196, 15.8089, 56.1814)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6EC7 #C7852C
analogous
#2CBBC7 #2C6EC7 #382CC7
triadic
#2C6EC7 #C72C6E #6EC72C
tetradic
#2C6EC7 #C72CBB #C7852C #2CC738
square
#2C6EC7 #C72CBB #C7852C #2CC738
split-complementary
#2C6EC7 #C7382C #BBC72C
monochromatic
#163763 #215295 #2C6EC7 #568EDA #89B0E5

Accessibility & contrast

On white

5.05
#2C6EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2C6EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6EC7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6EC7#FFFFFF#000000##FFFFFF
##2C6EC71.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4076CA
Deuteranopia (green-blind)
#1E68C5
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c6ec7;
/* rgb */ color: rgb(44, 110, 199);
/* oklch */ color: oklch(54.4% 0.154 257.1);
Tailwind
colors: {
  custom: {
    50: '#7c97d8',
    500: '#2c6ec7',
    950: '#000000',
  },
}
SCSS
$custom: #2c6ec7;
$custom-light: #7c97d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6ec7",
  "rgb": {
    "r": 44,
    "g": 110,
    "b": 199
  },
  "hsl": {
    "h": 214.452,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54381,
    "c": 0.15376,
    "h": 257.1
  },
  "luminance": 0.15811
}

Semantic roles & 50–950 ramp

primary
#2C6EC7
secondary
#CFAD80
accent
#A041E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2C6EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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