#4F5CE2#4F5CE2

#4F5CE2 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.4% C 0.201 H 273.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4F5CE2
RGBrgb(79, 92, 226)
HSLhsl(235, 72%, 60%)
HSVhsv(235, 65%, 89%)
CMYKcmyk(65%, 59.3%, 0%, 11.4%)
CIE-LABlab(45.37, 36.67, -69.80)
CIE-LCHlch(45.37, 78.85, 297.72°)
OKLaboklab(54.36% 0.012 -0.201)
OKLCHoklch(54.36% 0.201 273.4)
XYZxyz(20.7745, 14.8057, 73.6998)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CE2 #E2D54F
analogous
#4FA5E2 #4F5CE2 #8C4FE2
triadic
#4F5CE2 #E24F5C #5CE24F
tetradic
#4F5CE2 #E24FA5 #E2D54F #4FE28C
square
#4F5CE2 #E24FA5 #E2D54F #4FE28C
split-complementary
#4F5CE2 #E28C4F #A5E24F
monochromatic
#1A259D #2232D1 #4F5CE2 #848DEB #B8BDF3

Accessibility & contrast

On white

5.30
#4F5CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4F5CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CE2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CE2#FFFFFF#000000##FFFFFF
##4F5CE21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5ce2;
/* rgb */ color: rgb(79, 92, 226);
/* oklch */ color: oklch(54.4% 0.201 273.4);
Tailwind
colors: {
  custom: {
    50: '#908aec',
    500: '#4f5ce2',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ce2;
$custom-light: #908aec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ce2",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 234.694,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54358,
    "c": 0.20141,
    "h": 273.4
  },
  "luminance": 0.14808
}

Semantic roles & 50–950 ramp

primary
#4F5CE2
secondary
#E3DEAA
accent
#DE39EE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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