#2C74C5#2C74C5

#2C74C5 is a mid, vivid cyan. Relative luminance 0.171; OKLCH L 55.6% C 0.144 H 254.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2C74C5
RGBrgb(44, 116, 197)
HSLhsl(212, 63%, 47%)
HSVhsv(212, 78%, 77%)
CMYKcmyk(77.7%, 41.1%, 0%, 22.7%)
CIE-LABlab(48.33, 6.40, -48.55)
CIE-LCHlch(48.33, 48.97, 277.50°)
OKLaboklab(55.59% -0.0398 -0.1388)
OKLCHoklch(55.59% 0.144 254)
XYZxyz(17.3584, 17.0554, 55.1897)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C74C5 #C57D2C
analogous
#2CC0C5 #2C74C5 #312CC5
triadic
#2C74C5 #C52C74 #74C52C
tetradic
#2C74C5 #C52CC0 #C57D2C #2CC531
square
#2C74C5 #C52CC0 #C57D2C #2CC531
split-complementary
#2C74C5 #C5312C #C0C52C
monochromatic
#163961 #215793 #2C74C5 #5593D9 #87B3E4

Accessibility & contrast

On white

4.76
#2C74C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2C74C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C74C5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C74C5#FFFFFF#000000##FFFFFF
##2C74C51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D7AC8
Deuteranopia (green-blind)
#326CC3
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c74c5;
/* rgb */ color: rgb(44, 116, 197);
/* oklch */ color: oklch(55.6% 0.144 254.0);
Tailwind
colors: {
  custom: {
    50: '#7b9bd7',
    500: '#2c74c5',
    950: '#000000',
  },
}
SCSS
$custom: #2c74c5;
$custom-light: #7b9bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c74c5",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 197
  },
  "hsl": {
    "h": 211.765,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5559,
    "c": 0.14442,
    "h": 254
  },
  "luminance": 0.17057
}

Semantic roles & 50–950 ramp

primary
#2C74C5
secondary
#CEA97F
accent
#9941E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2C74C5

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

Preview Lab → · Contrast checker → · Palette generator →

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