#2C74A8#2C74A8

#2C74A8 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.9% C 0.108 H 243.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2C74A8
RGBrgb(44, 116, 168)
HSLhsl(205, 58%, 42%)
HSVhsv(205, 74%, 66%)
CMYKcmyk(73.8%, 31%, 0%, 34.1%)
CIE-LABlab(46.78, -4.36, -34.21)
CIE-LCHlch(46.78, 34.49, 262.73°)
OKLaboklab(53.87% -0.0476 -0.0968)
OKLCHoklch(53.87% 0.108 243.8)
XYZxyz(14.3493, 15.8518, 39.3416)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C74A8 #A8602C
analogous
#2CA89E #2C74A8 #2C36A8
triadic
#2C74A8 #A82C74 #74A82C
tetradic
#2C74A8 #9E2CA8 #A8602C #36A82C
square
#2C74A8 #9E2CA8 #A8602C #36A82C
split-complementary
#2C74A8 #A82C36 #A89E2C
monochromatic
#133147 #1F5378 #2C74A8 #4394CE #74AFDB

Accessibility & contrast

On white

5.04
#2C74A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2C74A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C74A8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C74A8#FFFFFF#000000##FFFFFF
##2C74A81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C75AA
Deuteranopia (green-blind)
#4B6AA7
Tritanopia (blue-blind)
#008186
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c74a8;
/* rgb */ color: rgb(44, 116, 168);
/* oklch */ color: oklch(53.9% 0.108 243.8);
Tailwind
colors: {
  custom: {
    50: '#769bc2',
    500: '#2c74a8',
    950: '#000000',
  },
}
SCSS
$custom: #2c74a8;
$custom-light: #769bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c74a8",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 168
  },
  "hsl": {
    "h": 205.161,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53868,
    "c": 0.1079,
    "h": 243.8
  },
  "luminance": 0.15853
}

Semantic roles & 50–950 ramp

primary
#2C74A8
secondary
#C2916E
accent
#8746E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2C74A8

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

Preview Lab → · Contrast checker → · Palette generator →

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