#2D72CC#2D72CC

#2D72CC is a mid, vivid cyan. Relative luminance 0.170; OKLCH L 55.6% C 0.155 H 256.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2D72CC
RGBrgb(45, 114, 204)
HSLhsl(214, 64%, 49%)
HSVhsv(214, 78%, 80%)
CMYKcmyk(77.9%, 44.1%, 0%, 20%)
CIE-LABlab(48.20, 10.39, -52.77)
CIE-LCHlch(48.20, 53.78, 281.14°)
OKLaboklab(55.63% -0.0361 -0.1512)
OKLCHoklch(55.63% 0.156 256.6)
XYZxyz(17.9946, 16.9500, 59.4383)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D72CC #CC872D
analogous
#2DC2CC #2D72CC #382DCC
triadic
#2D72CC #CC2D72 #72CC2D
tetradic
#2D72CC #CC2DC2 #CC872D #2DCC38
square
#2D72CC #CC2DC2 #CC872D #2DCC38
split-complementary
#2D72CC #CC382D #C2CC2D
monochromatic
#173A68 #22569A #2D72CC #5B93DB #8DB4E6

Accessibility & contrast

On white

4.78
#2D72CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2D72CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D72CC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D72CC#FFFFFF#000000##FFFFFF
##2D72CC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447ACF
Deuteranopia (green-blind)
#236CCA
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d72cc;
/* rgb */ color: rgb(45, 114, 204);
/* oklch */ color: oklch(55.6% 0.155 256.6);
Tailwind
colors: {
  custom: {
    50: '#7d99dc',
    500: '#2d72cc',
    950: '#000000',
  },
}
SCSS
$custom: #2d72cc;
$custom-light: #7d99dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d72cc",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 213.962,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55628,
    "c": 0.1555,
    "h": 256.6
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#2D72CC
secondary
#D0AF85
accent
#9F41E7
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2D72CC

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

Preview Lab → · Contrast checker → · Palette generator →

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