#2F72D0#2F72D0

#2F72D0 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.0% C 0.160 H 257.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F72D0
RGBrgb(47, 114, 208)
HSLhsl(215, 63%, 50%)
HSVhsv(215, 77%, 82%)
CMYKcmyk(77.4%, 45.2%, 0%, 18.4%)
CIE-LABlab(48.50, 12.12, -54.57)
CIE-LCHlch(48.50, 55.90, 282.52°)
OKLaboklab(55.96% -0.0342 -0.1565)
OKLCHoklch(55.96% 0.16 257.7)
XYZxyz(18.5706, 17.1909, 62.0017)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F72D0 #D08D2F
analogous
#2FC2D0 #2F72D0 #3D2FD0
triadic
#2F72D0 #D02F72 #72D02F
tetradic
#2F72D0 #D02FC2 #D08D2F #2FD03D
square
#2F72D0 #D02FC2 #D08D2F #2FD03D
split-complementary
#2F72D0 #D03D2F #C2D02F
monochromatic
#183B6C #24579E #2F72D0 #6194DB #93B6E7

Accessibility & contrast

On white

4.73
#2F72D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2F72D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F72D0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F72D0#FFFFFF#000000##FFFFFF
##2F72D01.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#417BD4
Deuteranopia (green-blind)
#1C6CCE
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f72d0;
/* rgb */ color: rgb(47, 114, 208);
/* oklch */ color: oklch(56.0% 0.160 257.7);
Tailwind
colors: {
  custom: {
    50: '#7f99df',
    500: '#2f72d0',
    950: '#000000',
  },
}
SCSS
$custom: #2f72d0;
$custom-light: #7f99df;
$custom-dark: #000000;
JSON
{
  "hex": "#2f72d0",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 208
  },
  "hsl": {
    "h": 215.031,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.55957,
    "c": 0.1602,
    "h": 257.7
  },
  "luminance": 0.17193
}

Semantic roles & 50–950 ramp

primary
#2F72D0
secondary
#D1B389
accent
#A242E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2F72D0

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

Preview Lab → · Contrast checker → · Palette generator →

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