#4F5AE6#4F5AE6

#4F5AE6 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.3% C 0.209 H 273.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4F5AE6
RGBrgb(79, 90, 230)
HSLhsl(236, 75%, 61%)
HSVhsv(236, 66%, 90%)
CMYKcmyk(65.7%, 60.9%, 0%, 9.8%)
CIE-LABlab(45.20, 39.23, -72.33)
CIE-LCHlch(45.20, 82.29, 298.48°)
OKLaboklab(54.33% 0.0135 -0.2085)
OKLCHoklch(54.33% 0.209 273.7)
XYZxyz(21.1588, 14.6859, 76.5672)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5AE6 #E6DB4F
analogous
#4FA5E6 #4F5AE6 #8F4FE6
triadic
#4F5AE6 #E64F5A #5AE64F
tetradic
#4F5AE6 #E64FA5 #E6DB4F #4FE68F
square
#4F5AE6 #E64FA5 #E6DB4F #4FE68F
split-complementary
#4F5AE6 #E68F4F #A5E64F
monochromatic
#1721A3 #1F2CD9 #4F5AE6 #858CEE #BABEF5

Accessibility & contrast

On white

5.33
#4F5AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4F5AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5AE6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5AE6#FFFFFF#000000##FFFFFF
##4F5AE61.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5ae6;
/* rgb */ color: rgb(79, 90, 230);
/* oklch */ color: oklch(54.3% 0.209 273.7);
Tailwind
colors: {
  custom: {
    50: '#9188ef',
    500: '#4f5ae6',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ae6;
$custom-light: #9188ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ae6",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 235.629,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54332,
    "c": 0.20895,
    "h": 273.7
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

primary
#4F5AE6
secondary
#E5E1AC
accent
#C90ED7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F5AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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