#2D74C5#2D74C5

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

Color values

HEX#2D74C5
RGBrgb(45, 116, 197)
HSLhsl(212, 63%, 47%)
HSVhsv(212, 77%, 77%)
CMYKcmyk(77.2%, 41.1%, 0%, 22.7%)
CIE-LABlab(48.36, 6.51, -48.50)
CIE-LCHlch(48.36, 48.94, 277.65°)
OKLaboklab(55.62% -0.0392 -0.1387)
OKLCHoklch(55.62% 0.144 254.2)
XYZxyz(17.4019, 17.0778, 55.1917)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D74C5 #C57E2D
analogous
#2DC0C5 #2D74C5 #322DC5
triadic
#2D74C5 #C52D74 #74C52D
tetradic
#2D74C5 #C52DC0 #C57E2D #2DC532
square
#2D74C5 #C52DC0 #C57E2D #2DC532
split-complementary
#2D74C5 #C5322D #C0C52D
monochromatic
#163961 #225793 #2D74C5 #5793D9 #88B3E4

Accessibility & contrast

On white

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

On black

4.42
#2D74C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D74C5#FFFFFF#000000##FFFFFF
##2D74C51.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d74c5;
/* rgb */ color: rgb(45, 116, 197);
/* oklch */ color: oklch(55.6% 0.144 254.2);
Tailwind
colors: {
  custom: {
    50: '#7c9bd7',
    500: '#2d74c5',
    950: '#000000',
  },
}
SCSS
$custom: #2d74c5;
$custom-light: #7c9bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d74c5",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 197
  },
  "hsl": {
    "h": 211.974,
    "s": 62.81,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5562,
    "c": 0.14412,
    "h": 254.2
  },
  "luminance": 0.1708
}

Semantic roles & 50–950 ramp

primary
#2D74C5
secondary
#CEA980
accent
#9942E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2D74C5

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

Preview Lab → · Contrast checker → · Palette generator →

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