#4F72CF#4F72CF

#4F72CF is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.2% C 0.149 H 266.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4F72CF
RGBrgb(79, 114, 207)
HSLhsl(224, 57%, 56%)
HSVhsv(224, 62%, 81%)
CMYKcmyk(61.8%, 44.9%, 0%, 18.8%)
CIE-LABlab(49.74, 16.50, -51.94)
CIE-LCHlch(49.74, 54.50, 287.63°)
OKLaboklab(57.25% -0.0096 -0.1483)
OKLCHoklch(57.25% 0.149 266.3)
XYZxyz(20.5004, 18.2001, 61.4520)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72CF #CFAC4F
analogous
#4FB2CF #4F72CF #6C4FCF
triadic
#4F72CF #CF4F72 #72CF4F
tetradic
#4F72CF #CF4FB2 #CFAC4F #4FCF6C
square
#4F72CF #CF4FB2 #CFAC4F #4FCF6C
split-complementary
#4F72CF #CF6C4F #B2CF4F
monochromatic
#233D81 #3053B1 #4F72CF #7F99DC #AFBFE9

Accessibility & contrast

On white

4.53
#4F72CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4F72CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72CF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72CF#FFFFFF#000000##000000
##4F72CF1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD3
Deuteranopia (green-blind)
#3171CD
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f72cf;
/* rgb */ color: rgb(79, 114, 207);
/* oklch */ color: oklch(57.2% 0.149 266.3);
Tailwind
colors: {
  custom: {
    50: '#8c9ade',
    500: '#4f72cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f72cf;
$custom-light: #8c9ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72cf",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 223.594,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57248,
    "c": 0.14857,
    "h": 266.3
  },
  "luminance": 0.18202
}

Semantic roles & 50–950 ramp

primary
#4F72CF
secondary
#D7C9A2
accent
#B747E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F72CF

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

Preview Lab → · Contrast checker → · Palette generator →

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