#2C74CC#2C74CC

#2C74CC is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 56.0% C 0.154 H 255.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2C74CC
RGBrgb(44, 116, 204)
HSLhsl(213, 65%, 49%)
HSVhsv(213, 78%, 80%)
CMYKcmyk(78.4%, 43.1%, 0%, 20%)
CIE-LABlab(48.74, 9.03, -51.90)
CIE-LCHlch(48.74, 52.68, 279.87°)
OKLaboklab(56.04% -0.0383 -0.1487)
OKLCHoklch(56.04% 0.154 255.5)
XYZxyz(18.1791, 17.3837, 59.5123)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C74CC #CC842C
analogous
#2CC4CC #2C74CC #342CCC
triadic
#2C74CC #CC2C74 #74CC2C
tetradic
#2C74CC #CC2CC4 #CC842C #2CCC34
square
#2C74CC #CC2CC4 #CC842C #2CCC34
split-complementary
#2C74CC #CC342C #C4CC2C
monochromatic
#163B67 #21579A #2C74CC #5A94DB #8CB5E6

Accessibility & contrast

On white

4.69
#2C74CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2C74CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C74CC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C74CC#FFFFFF#000000##FFFFFF
##2C74CC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487CCF
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c74cc;
/* rgb */ color: rgb(44, 116, 204);
/* oklch */ color: oklch(56.0% 0.154 255.5);
Tailwind
colors: {
  custom: {
    50: '#7d9bdc',
    500: '#2c74cc',
    950: '#000000',
  },
}
SCSS
$custom: #2c74cc;
$custom-light: #7d9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c74cc",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 213,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.15353,
    "h": 255.5
  },
  "luminance": 0.17386
}

Semantic roles & 50–950 ramp

primary
#2C74CC
secondary
#D0AE83
accent
#9C40E8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2C74CC

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

Preview Lab → · Contrast checker → · Palette generator →

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