#2D74C8#2D74C8

#2D74C8 is a mid, vivid cyan. Relative luminance 0.172; OKLCH L 55.8% C 0.148 H 254.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2D74C8
RGBrgb(45, 116, 200)
HSLhsl(213, 63%, 48%)
HSVhsv(213, 78%, 78%)
CMYKcmyk(77.5%, 42%, 0%, 21.6%)
CIE-LABlab(48.53, 7.64, -49.95)
CIE-LCHlch(48.53, 50.53, 278.69°)
OKLaboklab(55.81% -0.0386 -0.1429)
OKLCHoklch(55.81% 0.148 254.9)
XYZxyz(17.7490, 17.2167, 57.0201)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D74C8 #C8812D
analogous
#2DC1C8 #2D74C8 #332DC8
triadic
#2D74C8 #C82D74 #74C82D
tetradic
#2D74C8 #C82DC1 #C8812D #2DC833
square
#2D74C8 #C82DC1 #C8812D #2DC833
split-complementary
#2D74C8 #C8332D #C1C82D
monochromatic
#173A64 #225796 #2D74C8 #5994DA #8BB4E5

Accessibility & contrast

On white

4.73
#2D74C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2D74C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D74C8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D74C8#FFFFFF#000000##FFFFFF
##2D74C81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCB
Deuteranopia (green-blind)
#2F6DC6
Tritanopia (blue-blind)
#008894
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d74c8;
/* rgb */ color: rgb(45, 116, 200);
/* oklch */ color: oklch(55.8% 0.148 254.9);
Tailwind
colors: {
  custom: {
    50: '#7c9bd9',
    500: '#2d74c8',
    950: '#000000',
  },
}
SCSS
$custom: #2d74c8;
$custom-light: #7c9bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d74c8",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 212.516,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55811,
    "c": 0.14803,
    "h": 254.9
  },
  "luminance": 0.17219
}

Semantic roles & 50–950 ramp

primary
#2D74C8
secondary
#CFAC82
accent
#9B41E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2D74C8

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

Preview Lab → · Contrast checker → · Palette generator →

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