#2D74C9#2D74C9

#2D74C9 is a mid, vivid cyan. Relative luminance 0.173; OKLCH L 55.9% C 0.149 H 255.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2D74C9
RGBrgb(45, 116, 201)
HSLhsl(213, 63%, 48%)
HSVhsv(213, 78%, 79%)
CMYKcmyk(77.6%, 42.3%, 0%, 21.2%)
CIE-LABlab(48.59, 8.01, -50.42)
CIE-LCHlch(48.59, 51.06, 279.03°)
OKLaboklab(55.88% -0.0384 -0.1443)
OKLCHoklch(55.88% 0.149 255.1)
XYZxyz(17.8663, 17.2636, 57.6376)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D74C9 #C9822D
analogous
#2DC2C9 #2D74C9 #342DC9
triadic
#2D74C9 #C92D74 #74C92D
tetradic
#2D74C9 #C92DC2 #C9822D #2DC934
square
#2D74C9 #C92DC2 #C9822D #2DC934
split-complementary
#2D74C9 #C9342D #C2C92D
monochromatic
#173A65 #225797 #2D74C9 #5994DA #8BB4E5

Accessibility & contrast

On white

4.72
#2D74C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2D74C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D74C9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D74C9#FFFFFF#000000##FFFFFF
##2D74C91.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A7BCC
Deuteranopia (green-blind)
#2E6DC7
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d74c9;
/* rgb */ color: rgb(45, 116, 201);
/* oklch */ color: oklch(55.9% 0.149 255.1);
Tailwind
colors: {
  custom: {
    50: '#7d9bda',
    500: '#2d74c9',
    950: '#000000',
  },
}
SCSS
$custom: #2d74c9;
$custom-light: #7d9bda;
$custom-dark: #000000;
JSON
{
  "hex": "#2d74c9",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 201
  },
  "hsl": {
    "h": 212.692,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55876,
    "c": 0.14933,
    "h": 255.1
  },
  "luminance": 0.17266
}

Semantic roles & 50–950 ramp

primary
#2D74C9
secondary
#CFAC83
accent
#9B41E6
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2D74C9

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

Preview Lab → · Contrast checker → · Palette generator →

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