#2C74AB#2C74AB

#2C74AB is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.0% C 0.112 H 245.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2C74AB
RGBrgb(44, 116, 171)
HSLhsl(206, 59%, 42%)
HSVhsv(206, 74%, 67%)
CMYKcmyk(74.3%, 32.2%, 0%, 32.9%)
CIE-LABlab(46.93, -3.27, -35.73)
CIE-LCHlch(46.93, 35.88, 264.77°)
OKLaboklab(54.04% -0.0466 -0.1013)
OKLCHoklch(54.04% 0.112 245.3)
XYZxyz(14.6320, 15.9649, 40.8306)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C74AB #AB632C
analogous
#2CABA3 #2C74AB #2C35AB
triadic
#2C74AB #AB2C74 #74AB2C
tetradic
#2C74AB #A32CAB #AB632C #35AB2C
square
#2C74AB #A32CAB #AB632C #35AB2C
split-complementary
#2C74AB #AB2C35 #ABA32C
monochromatic
#13324A #1F537A #2C74AB #4593CF #76B0DC

Accessibility & contrast

On white

5.01
#2C74AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2C74AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C74AB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C74AB#FFFFFF#000000##FFFFFF
##2C74AB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AD
Deuteranopia (green-blind)
#496AAA
Tritanopia (blue-blind)
#008188
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c74ab;
/* rgb */ color: rgb(44, 116, 171);
/* oklch */ color: oklch(54.0% 0.112 245.3);
Tailwind
colors: {
  custom: {
    50: '#769bc4',
    500: '#2c74ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c74ab;
$custom-light: #769bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c74ab",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 171
  },
  "hsl": {
    "h": 205.984,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.1115,
    "h": 245.3
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

primary
#2C74AB
secondary
#C3946F
accent
#8946E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2C74AB

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

Preview Lab → · Contrast checker → · Palette generator →

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