#4F72F3#4F72F3

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

Color values

HEX#4F72F3
RGBrgb(79, 114, 243)
HSLhsl(227, 87%, 63%)
HSVhsv(227, 67%, 95%)
CMYKcmyk(67.5%, 53.1%, 0%, 4.7%)
CIE-LABlab(52.02, 28.91, -68.54)
CIE-LCHlch(52.02, 74.39, 292.87°)
OKLaboklab(59.72% -0.0056 -0.1971)
OKLCHoklch(59.72% 0.197 268.4)
XYZxyz(25.4139, 20.1655, 87.3296)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72F3 #F3D04F
analogous
#4FC4F3 #4F72F3 #7E4FF3
triadic
#4F72F3 #F34F72 #72F34F
tetradic
#4F72F3 #F34FC4 #F3D04F #4FF37E
square
#4F72F3 #F34FC4 #F3D04F #4FF37E
split-complementary
#4F72F3 #F37E4F #C4F34F
monochromatic
#0D32BB #1644EF #4F72F3 #88A0F7 #C2CEFB

Accessibility & contrast

On white

4.17
#4F72F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4F72F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72F3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72F3#FFFFFF#000000##000000
##4F72F31.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1184F8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#0091A8
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f72f3;
/* rgb */ color: rgb(79, 114, 243);
/* oklch */ color: oklch(59.7% 0.197 268.4);
Tailwind
colors: {
  custom: {
    50: '#929af8',
    500: '#4f72f3',
    950: '#000000',
  },
}
SCSS
$custom: #4f72f3;
$custom-light: #929af8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72f3",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 243
  },
  "hsl": {
    "h": 227.195,
    "s": 87.234,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59717,
    "c": 0.19718,
    "h": 268.4
  },
  "luminance": 0.20168
}

Semantic roles & 50–950 ramp

primary
#4F72F3
secondary
#ECE0B2
accent
#B402E4
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F72F3

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

Preview Lab → · Contrast checker → · Palette generator →

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