#4F72F6#4F72F6

#4F72F6 is a mid, highly saturated blue. Relative luminance 0.204; OKLCH L 59.9% C 0.201 H 268.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4F72F6
RGBrgb(79, 114, 246)
HSLhsl(227, 90%, 64%)
HSVhsv(227, 68%, 96%)
CMYKcmyk(67.9%, 53.7%, 0%, 3.5%)
CIE-LABlab(52.23, 29.95, -69.88)
CIE-LCHlch(52.23, 76.02, 293.20°)
OKLaboklab(59.94% -0.0054 -0.201)
OKLCHoklch(59.94% 0.201 268.5)
XYZxyz(25.8706, 20.3482, 89.7351)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72F6 #F6D34F
analogous
#4FC5F6 #4F72F6 #7F4FF6
triadic
#4F72F6 #F64F72 #72F64F
tetradic
#4F72F6 #F64FC5 #F6D34F #4FF67F
square
#4F72F6 #F64FC5 #F6D34F #4FF67F
split-complementary
#4F72F6 #F67F4F #C5F64F
monochromatic
#0A30C1 #1543F3 #4F72F6 #89A1F9 #C3CFFC

Accessibility & contrast

On white

4.14
#4F72F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4F72F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72F6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72F6#FFFFFF#000000##000000
##4F72F61.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0185FB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#0092A9
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f72f6;
/* rgb */ color: rgb(79, 114, 246);
/* oklch */ color: oklch(59.9% 0.201 268.5);
Tailwind
colors: {
  custom: {
    50: '#929afa',
    500: '#4f72f6',
    950: '#000000',
  },
}
SCSS
$custom: #4f72f6;
$custom-light: #929afa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72f6",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 227.425,
    "s": 90.27,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59936,
    "c": 0.2011,
    "h": 268.5
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#4F72F6
secondary
#EEE2B3
accent
#B500E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F72F6

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

Preview Lab → · Contrast checker → · Palette generator →

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