#2D72C5#2D72C5

#2D72C5 is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 55.2% C 0.146 H 255.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2D72C5
RGBrgb(45, 114, 197)
HSLhsl(213, 63%, 47%)
HSVhsv(213, 77%, 77%)
CMYKcmyk(77.2%, 42.1%, 0%, 22.7%)
CIE-LABlab(47.78, 7.76, -49.43)
CIE-LCHlch(47.78, 50.03, 278.92°)
OKLaboklab(55.17% -0.0375 -0.1414)
OKLCHoklch(55.17% 0.146 255.1)
XYZxyz(17.1738, 16.6217, 55.1157)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D72C5 #C5802D
analogous
#2DBEC5 #2D72C5 #342DC5
triadic
#2D72C5 #C52D72 #72C52D
tetradic
#2D72C5 #C52DBE #C5802D #2DC534
square
#2D72C5 #C52DBE #C5802D #2DC534
split-complementary
#2D72C5 #C5342D #BEC52D
monochromatic
#163861 #225593 #2D72C5 #5792D9 #88B2E4

Accessibility & contrast

On white

4.86
#2D72C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2D72C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D72C5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D72C5#FFFFFF#000000##FFFFFF
##2D72C51.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4979C8
Deuteranopia (green-blind)
#2E6BC3
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d72c5;
/* rgb */ color: rgb(45, 114, 197);
/* oklch */ color: oklch(55.2% 0.146 255.1);
Tailwind
colors: {
  custom: {
    50: '#7c9ad7',
    500: '#2d72c5',
    950: '#000000',
  },
}
SCSS
$custom: #2d72c5;
$custom-light: #7c9ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d72c5",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 197
  },
  "hsl": {
    "h": 212.763,
    "s": 62.81,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5517,
    "c": 0.14631,
    "h": 255.1
  },
  "luminance": 0.16624
}

Semantic roles & 50–950 ramp

primary
#2D72C5
secondary
#CEAA80
accent
#9B42E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2D72C5

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

Preview Lab → · Contrast checker → · Palette generator →

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