#4F72D9#4F72D9

#4F72D9 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.9% C 0.162 H 267.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4F72D9
RGBrgb(79, 114, 217)
HSLhsl(225, 64%, 58%)
HSVhsv(225, 64%, 85%)
CMYKcmyk(63.6%, 47.5%, 0%, 14.9%)
CIE-LABlab(50.34, 19.94, -56.66)
CIE-LCHlch(50.34, 60.06, 289.39°)
OKLaboklab(57.9% -0.0081 -0.1621)
OKLCHoklch(57.9% 0.162 267.1)
XYZxyz(21.7619, 18.7047, 68.0957)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72D9 #D9B64F
analogous
#4FB7D9 #4F72D9 #714FD9
triadic
#4F72D9 #D94F72 #72D94F
tetradic
#4F72D9 #D94FB7 #D9B64F #4FD971
square
#4F72D9 #D94FB7 #D9B64F #4FD971
split-complementary
#4F72D9 #D9714F #B7D94F
monochromatic
#1F3B8F #2A50C1 #4F72D9 #819AE4 #B4C3EF

Accessibility & contrast

On white

4.43
#4F72D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4F72D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72D9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72D9#FFFFFF#000000##000000
##4F72D91.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7EDD
Deuteranopia (green-blind)
#2172D7
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f72d9;
/* rgb */ color: rgb(79, 114, 217);
/* oklch */ color: oklch(57.9% 0.162 267.1);
Tailwind
colors: {
  custom: {
    50: '#8d9ae5',
    500: '#4f72d9',
    950: '#000000',
  },
}
SCSS
$custom: #4f72d9;
$custom-light: #8d9ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72d9",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 217
  },
  "hsl": {
    "h": 224.783,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.16233,
    "h": 267.1
  },
  "luminance": 0.18707
}

Semantic roles & 50–950 ramp

primary
#4F72D9
secondary
#DDCFA6
accent
#BD40E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F72D9

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

Preview Lab → · Contrast checker → · Palette generator →

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