#2F72D4#2F72D4

#2F72D4 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.2% C 0.165 H 258.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2F72D4
RGBrgb(47, 114, 212)
HSLhsl(216, 66%, 51%)
HSVhsv(216, 78%, 83%)
CMYKcmyk(77.8%, 46.2%, 0%, 16.9%)
CIE-LABlab(48.75, 13.62, -56.44)
CIE-LCHlch(48.75, 58.06, 283.57°)
OKLaboklab(56.23% -0.0335 -0.162)
OKLCHoklch(56.23% 0.165 258.3)
XYZxyz(19.0689, 17.3902, 64.6262)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F72D4 #D4912F
analogous
#2FC5D4 #2F72D4 #3E2FD4
triadic
#2F72D4 #D42F72 #72D42F
tetradic
#2F72D4 #D42FC5 #D4912F #2FD43E
square
#2F72D4 #D42FC5 #D4912F #2FD43E
split-complementary
#2F72D4 #D43E2F #C5D42F
monochromatic
#173C71 #2257A4 #2F72D4 #6294DE #94B7E9

Accessibility & contrast

On white

4.69
#2F72D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2F72D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F72D4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F72D4#FFFFFF#000000##FFFFFF
##2F72D41.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D7CD8
Deuteranopia (green-blind)
#106DD2
Tritanopia (blue-blind)
#008999
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f72d4;
/* rgb */ color: rgb(47, 114, 212);
/* oklch */ color: oklch(56.2% 0.165 258.3);
Tailwind
colors: {
  custom: {
    50: '#8099e2',
    500: '#2f72d4',
    950: '#000000',
  },
}
SCSS
$custom: #2f72d4;
$custom-light: #8099e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f72d4",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 212
  },
  "hsl": {
    "h": 215.636,
    "s": 65.737,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56229,
    "c": 0.16546,
    "h": 258.3
  },
  "luminance": 0.17392
}

Semantic roles & 50–950 ramp

primary
#2F72D4
secondary
#D4B68B
accent
#A43FE9
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2F72D4

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

Preview Lab → · Contrast checker → · Palette generator →

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