#4F72D5#4F72D5

#4F72D5 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.6% C 0.157 H 266.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4F72D5
RGBrgb(79, 114, 213)
HSLhsl(224, 61%, 57%)
HSVhsv(224, 63%, 84%)
CMYKcmyk(62.9%, 46.5%, 0%, 16.5%)
CIE-LABlab(50.10, 18.56, -54.78)
CIE-LCHlch(50.10, 57.84, 288.72°)
OKLaboklab(57.64% -0.0087 -0.1566)
OKLCHoklch(57.64% 0.157 266.8)
XYZxyz(21.2479, 18.4991, 65.3888)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72D5 #D5B24F
analogous
#4FB5D5 #4F72D5 #6F4FD5
triadic
#4F72D5 #D54F72 #72D54F
tetradic
#4F72D5 #D54FB5 #D5B24F #4FD56F
square
#4F72D5 #D54FB5 #D5B24F #4FD56F
split-complementary
#4F72D5 #D56F4F #B5D54F
monochromatic
#213C89 #2C52BA #4F72D5 #809AE1 #B2C1ED

Accessibility & contrast

On white

4.47
#4F72D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4F72D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72D5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72D5#FFFFFF#000000##000000
##4F72D51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#417ED9
Deuteranopia (green-blind)
#2971D3
Tritanopia (blue-blind)
#008999
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f72d5;
/* rgb */ color: rgb(79, 114, 213);
/* oklch */ color: oklch(57.6% 0.157 266.8);
Tailwind
colors: {
  custom: {
    50: '#8d9ae2',
    500: '#4f72d5',
    950: '#000000',
  },
}
SCSS
$custom: #4f72d5;
$custom-light: #8d9ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72d5",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 213
  },
  "hsl": {
    "h": 224.328,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57638,
    "c": 0.15685,
    "h": 266.8
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

primary
#4F72D5
secondary
#DBCDA5
accent
#BA43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F72D5

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

Preview Lab → · Contrast checker → · Palette generator →

#4F72D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva