#4F72F4#4F72F4

#4F72F4 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.8% C 0.198 H 268.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4F72F4
RGBrgb(79, 114, 244)
HSLhsl(227, 88%, 63%)
HSVhsv(227, 68%, 96%)
CMYKcmyk(67.6%, 53.3%, 0%, 4.3%)
CIE-LABlab(52.09, 29.26, -68.99)
CIE-LCHlch(52.09, 74.93, 292.98°)
OKLaboklab(59.79% -0.0055 -0.1984)
OKLCHoklch(59.79% 0.198 268.4)
XYZxyz(25.5653, 20.2260, 88.1271)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72F4 #F4D14F
analogous
#4FC4F4 #4F72F4 #7E4FF4
triadic
#4F72F4 #F44F72 #72F44F
tetradic
#4F72F4 #F44FC4 #F4D14F #4FF47E
square
#4F72F4 #F44FC4 #F4D14F #4FF47E
split-complementary
#4F72F4 #F47E4F #C4F44F
monochromatic
#0C31BD #1544F0 #4F72F4 #89A0F8 #C2CEFB

Accessibility & contrast

On white

4.16
#4F72F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4F72F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72F4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72F4#FFFFFF#000000##000000
##4F72F41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C84F9
Deuteranopia (green-blind)
#0075F1
Tritanopia (blue-blind)
#0091A8
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f72f4;
/* rgb */ color: rgb(79, 114, 244);
/* oklch */ color: oklch(59.8% 0.198 268.4);
Tailwind
colors: {
  custom: {
    50: '#929af9',
    500: '#4f72f4',
    950: '#000000',
  },
}
SCSS
$custom: #4f72f4;
$custom-light: #929af9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72f4",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 244
  },
  "hsl": {
    "h": 227.273,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5979,
    "c": 0.19849,
    "h": 268.4
  },
  "luminance": 0.20229
}

Semantic roles & 50–950 ramp

primary
#4F72F4
secondary
#EDE0B2
accent
#B401E5
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F72F4

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

Preview Lab → · Contrast checker → · Palette generator →

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