#2C72CC#2C72CC

#2C72CC is a mid, vivid cyan. Relative luminance 0.169; OKLCH L 55.6% C 0.156 H 256.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2C72CC
RGBrgb(44, 114, 204)
HSLhsl(214, 65%, 49%)
HSVhsv(214, 78%, 80%)
CMYKcmyk(78.4%, 44.1%, 0%, 20%)
CIE-LABlab(48.17, 10.28, -52.82)
CIE-LCHlch(48.17, 53.81, 281.02°)
OKLaboklab(55.6% -0.0367 -0.1514)
OKLCHoklch(55.6% 0.156 256.4)
XYZxyz(17.9511, 16.9276, 59.4363)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C72CC #CC862C
analogous
#2CC2CC #2C72CC #362CCC
triadic
#2C72CC #CC2C72 #72CC2C
tetradic
#2C72CC #CC2CC2 #CC862C #2CCC36
square
#2C72CC #CC2CC2 #CC862C #2CCC36
split-complementary
#2C72CC #CC362C #C2CC2C
monochromatic
#163A67 #21569A #2C72CC #5A93DB #8CB4E6

Accessibility & contrast

On white

4.79
#2C72CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C72CC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C72CC#FFFFFF#000000##FFFFFF
##2C72CC1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.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: #2c72cc;
/* rgb */ color: rgb(44, 114, 204);
/* oklch */ color: oklch(55.6% 0.156 256.4);
Tailwind
colors: {
  custom: {
    50: '#7d99dc',
    500: '#2c72cc',
    950: '#000000',
  },
}
SCSS
$custom: #2c72cc;
$custom-light: #7d99dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c72cc",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 213.75,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55598,
    "c": 0.15578,
    "h": 256.4
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

primary
#2C72CC
secondary
#D0AF83
accent
#9E40E8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2C72CC

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

Preview Lab → · Contrast checker → · Palette generator →

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