#2C7ECA#2C7ECA

#2C7ECA is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.2% C 0.140 H 250.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2C7ECA
RGBrgb(44, 126, 202)
HSLhsl(209, 64%, 48%)
HSVhsv(209, 78%, 79%)
CMYKcmyk(78.2%, 37.6%, 0%, 20.8%)
CIE-LABlab(51.52, 2.13, -46.33)
CIE-LCHlch(51.52, 46.38, 272.63°)
OKLaboklab(58.17% -0.0473 -0.1321)
OKLCHoklch(58.17% 0.14 250.3)
XYZxyz(19.1562, 19.7192, 58.6622)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7ECA #CA782C
analogous
#2CCAC7 #2C7ECA #2C2FCA
triadic
#2C7ECA #CA2C7E #7ECA2C
tetradic
#2C7ECA #C72CCA #CA782C #2FCA2C
square
#2C7ECA #C72CCA #CA782C #2FCA2C
split-complementary
#2C7ECA #CA2C2F #CAC72C
monochromatic
#163F65 #215F98 #2C7ECA #589CDB #8BBAE6

Accessibility & contrast

On white

4.25
#2C7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2C7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7ECA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7ECA#FFFFFF#000000##000000
##2C7ECA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CD
Deuteranopia (green-blind)
#4274C9
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c7eca;
/* rgb */ color: rgb(44, 126, 202);
/* oklch */ color: oklch(58.2% 0.140 250.3);
Tailwind
colors: {
  custom: {
    50: '#7ca2da',
    500: '#2c7eca',
    950: '#000000',
  },
}
SCSS
$custom: #2c7eca;
$custom-light: #7ca2da;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7eca",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 208.861,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58171,
    "c": 0.14033,
    "h": 250.3
  },
  "luminance": 0.19721
}

Semantic roles & 50–950 ramp

primary
#2C7ECA
secondary
#D0A782
accent
#9141E7
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #2C7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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