#2F72C2#2F72C2

#2F72C2 is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 55.0% C 0.142 H 254.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F72C2
RGBrgb(47, 114, 194)
HSLhsl(213, 61%, 47%)
HSVhsv(213, 76%, 76%)
CMYKcmyk(75.8%, 41.2%, 0%, 23.9%)
CIE-LABlab(47.66, 6.87, -47.88)
CIE-LCHlch(47.66, 48.37, 278.17°)
OKLaboklab(55.04% -0.037 -0.1369)
OKLCHoklch(55.04% 0.142 254.9)
XYZxyz(16.9236, 16.5321, 53.3276)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F72C2 #C27F2F
analogous
#2FBCC2 #2F72C2 #352FC2
triadic
#2F72C2 #C22F72 #72C22F
tetradic
#2F72C2 #C22FBC #C27F2F #2FC235
square
#2F72C2 #C22FBC #C27F2F #2FC235
split-complementary
#2F72C2 #C2352F #BCC22F
monochromatic
#17385F #235591 #2F72C2 #5891D6 #89B2E2

Accessibility & contrast

On white

4.88
#2F72C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2F72C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F72C2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F72C2#FFFFFF#000000##FFFFFF
##2F72C21.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#326BC0
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f72c2;
/* rgb */ color: rgb(47, 114, 194);
/* oklch */ color: oklch(55.0% 0.142 254.9);
Tailwind
colors: {
  custom: {
    50: '#7c9ad5',
    500: '#2f72c2',
    950: '#000000',
  },
}
SCSS
$custom: #2f72c2;
$custom-light: #7c9ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f72c2",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 194
  },
  "hsl": {
    "h": 212.653,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55041,
    "c": 0.14177,
    "h": 254.9
  },
  "luminance": 0.16534
}

Semantic roles & 50–950 ramp

primary
#2F72C2
secondary
#CCAA81
accent
#9B44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F72C2

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

Preview Lab → · Contrast checker → · Palette generator →

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