#4F5CE0#4F5CE0

#4F5CE0 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.199 H 273.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4F5CE0
RGBrgb(79, 92, 224)
HSLhsl(235, 70%, 59%)
HSVhsv(235, 65%, 88%)
CMYKcmyk(64.7%, 58.9%, 0%, 12.2%)
CIE-LABlab(45.22, 36.00, -68.91)
CIE-LCHlch(45.22, 77.75, 297.58°)
OKLaboklab(54.2% 0.012 -0.1984)
OKLCHoklch(54.2% 0.199 273.5)
XYZxyz(20.5017, 14.6966, 72.2629)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CE0 #E0D34F
analogous
#4FA4E0 #4F5CE0 #8B4FE0
triadic
#4F5CE0 #E04F5C #5CE04F
tetradic
#4F5CE0 #E04FA4 #E0D34F #4FE08B
square
#4F5CE0 #E04FA4 #E0D34F #4FE08B
split-complementary
#4F5CE0 #E08B4F #A4E04F
monochromatic
#1B269A #2433CE #4F5CE0 #838CE9 #B7BCF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F5CE0#FFFFFF#000000##FFFFFF
##4F5CE01.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)
#0072E4
Deuteranopia (green-blind)
#0065DD
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5ce0;
/* rgb */ color: rgb(79, 92, 224);
/* oklch */ color: oklch(54.2% 0.199 273.5);
Tailwind
colors: {
  custom: {
    50: '#908aeb',
    500: '#4f5ce0',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ce0;
$custom-light: #908aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ce0",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 234.621,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54199,
    "c": 0.1988,
    "h": 273.5
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

primary
#4F5CE0
secondary
#E2DDA9
accent
#DD3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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