#2F72C4#2F72C4

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

Color values

HEX#2F72C4
RGBrgb(47, 114, 196)
HSLhsl(213, 61%, 48%)
HSVhsv(213, 76%, 77%)
CMYKcmyk(76%, 41.8%, 0%, 23.1%)
CIE-LABlab(47.78, 7.62, -48.85)
CIE-LCHlch(47.78, 49.44, 278.87°)
OKLaboklab(55.17% -0.0365 -0.1397)
OKLCHoklch(55.17% 0.144 255.3)
XYZxyz(17.1497, 16.6225, 54.5185)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F72C4 #C4812F
analogous
#2FBDC4 #2F72C4 #362FC4
triadic
#2F72C4 #C42F72 #72C42F
tetradic
#2F72C4 #C42FBD #C4812F #2FC436
square
#2F72C4 #C42FBD #C4812F #2FC436
split-complementary
#2F72C4 #C4362F #BDC42F
monochromatic
#173961 #235593 #2F72C4 #5992D7 #8AB2E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F72C4#FFFFFF#000000##FFFFFF
##2F72C41.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)
#4A79C7
Deuteranopia (green-blind)
#306BC2
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f72c4;
/* rgb */ color: rgb(47, 114, 196);
/* oklch */ color: oklch(55.2% 0.144 255.3);
Tailwind
colors: {
  custom: {
    50: '#7c9ad6',
    500: '#2f72c4',
    950: '#000000',
  },
}
SCSS
$custom: #2f72c4;
$custom-light: #7c9ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f72c4",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 196
  },
  "hsl": {
    "h": 213.02,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55169,
    "c": 0.1444,
    "h": 255.3
  },
  "luminance": 0.16624
}

Semantic roles & 50–950 ramp

primary
#2F72C4
secondary
#CDAB82
accent
#9C43E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F72C4

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

Preview Lab → · Contrast checker → · Palette generator →

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