#2C7DCA#2C7DCA

#2C7DCA is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 57.9% C 0.141 H 250.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2C7DCA
RGBrgb(44, 125, 202)
HSLhsl(209, 64%, 48%)
HSVhsv(209, 78%, 79%)
CMYKcmyk(78.2%, 38.1%, 0%, 20.8%)
CIE-LABlab(51.23, 2.73, -46.79)
CIE-LCHlch(51.23, 46.87, 273.34°)
OKLaboklab(57.94% -0.0464 -0.1335)
OKLCHoklch(57.94% 0.141 250.8)
XYZxyz(19.0290, 19.4647, 58.6198)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7DCA #CA792C
analogous
#2CCAC8 #2C7DCA #2C2ECA
triadic
#2C7DCA #CA2C7D #7DCA2C
tetradic
#2C7DCA #C82CCA #CA792C #2ECA2C
square
#2C7DCA #C82CCA #CA792C #2ECA2C
split-complementary
#2C7DCA #CA2C2E #CAC82C
monochromatic
#163F65 #215E98 #2C7DCA #589BDB #8BB9E6

Accessibility & contrast

On white

4.29
#2C7DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2C7DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7DCA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7DCA#FFFFFF#000000##000000
##2C7DCA1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CD
Deuteranopia (green-blind)
#4073C8
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c7dca;
/* rgb */ color: rgb(44, 125, 202);
/* oklch */ color: oklch(57.9% 0.141 250.8);
Tailwind
colors: {
  custom: {
    50: '#7ca2da',
    500: '#2c7dca',
    950: '#000000',
  },
}
SCSS
$custom: #2c7dca;
$custom-light: #7ca2da;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7dca",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 209.241,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57942,
    "c": 0.14134,
    "h": 250.8
  },
  "luminance": 0.19467
}

Semantic roles & 50–950 ramp

primary
#2C7DCA
secondary
#D0A882
accent
#9241E7
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #2C7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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