#4F5CE1#4F5CE1

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

Color values

HEX#4F5CE1
RGBrgb(79, 92, 225)
HSLhsl(235, 71%, 60%)
HSVhsv(235, 65%, 88%)
CMYKcmyk(64.9%, 59.1%, 0%, 11.8%)
CIE-LABlab(45.29, 36.34, -69.35)
CIE-LCHlch(45.29, 78.30, 297.65°)
OKLaboklab(54.28% 0.012 -0.1997)
OKLCHoklch(54.28% 0.2 273.4)
XYZxyz(20.6377, 14.7510, 72.9792)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CE1 #E1D44F
analogous
#4FA5E1 #4F5CE1 #8B4FE1
triadic
#4F5CE1 #E14F5C #5CE14F
tetradic
#4F5CE1 #E14FA5 #E1D44F #4FE18B
square
#4F5CE1 #E14FA5 #E1D44F #4FE18B
split-complementary
#4F5CE1 #E18B4F #A5E14F
monochromatic
#1A269B #2333CF #4F5CE1 #838CEA #B8BDF3

Accessibility & contrast

On white

5.32
#4F5CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4F5CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CE1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CE1#FFFFFF#000000##FFFFFF
##4F5CE11.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5ce1;
/* rgb */ color: rgb(79, 92, 225);
/* oklch */ color: oklch(54.3% 0.200 273.4);
Tailwind
colors: {
  custom: {
    50: '#908aeb',
    500: '#4f5ce1',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ce1;
$custom-light: #908aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ce1",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 234.658,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54279,
    "c": 0.20011,
    "h": 273.4
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#4F5CE1
secondary
#E2DDAA
accent
#DE3AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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