#2F72CE#2F72CE

#2F72CE is a mid, vivid cyan. Relative luminance 0.171; OKLCH L 55.8% C 0.158 H 257.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2F72CE
RGBrgb(47, 114, 206)
HSLhsl(215, 63%, 50%)
HSVhsv(215, 77%, 81%)
CMYKcmyk(77.2%, 44.7%, 0%, 19.2%)
CIE-LABlab(48.38, 11.37, -53.62)
CIE-LCHlch(48.38, 54.81, 281.97°)
OKLaboklab(55.82% -0.0345 -0.1537)
OKLCHoklch(55.82% 0.158 257.3)
XYZxyz(18.3261, 17.0931, 60.7140)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F72CE #CE8B2F
analogous
#2FC2CE #2F72CE #3C2FCE
triadic
#2F72CE #CE2F72 #72CE2F
tetradic
#2F72CE #CE2FC2 #CE8B2F #2FCE3C
square
#2F72CE #CE2FC2 #CE8B2F #2FCE3C
split-complementary
#2F72CE #CE3C2F #C2CE2F
monochromatic
#183B6A #24569C #2F72CE #6093DB #91B5E6

Accessibility & contrast

On white

4.75
#2F72CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2F72CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F72CE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F72CE#FFFFFF#000000##FFFFFF
##2F72CE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#427BD2
Deuteranopia (green-blind)
#206CCC
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f72ce;
/* rgb */ color: rgb(47, 114, 206);
/* oklch */ color: oklch(55.8% 0.158 257.3);
Tailwind
colors: {
  custom: {
    50: '#7e99dd',
    500: '#2f72ce',
    950: '#000000',
  },
}
SCSS
$custom: #2f72ce;
$custom-light: #7e99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f72ce",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 214.717,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55823,
    "c": 0.15756,
    "h": 257.3
  },
  "luminance": 0.17095
}

Semantic roles & 50–950 ramp

primary
#2F72CE
secondary
#D1B288
accent
#A142E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2F72CE

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

Preview Lab → · Contrast checker → · Palette generator →

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