#4F5CE9#4F5CE9

#4F5CE9 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 54.9% C 0.210 H 273.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4F5CE9
RGBrgb(79, 92, 233)
HSLhsl(235, 78%, 61%)
HSVhsv(235, 66%, 91%)
CMYKcmyk(66.1%, 60.5%, 0%, 8.6%)
CIE-LABlab(45.90, 39.02, -72.88)
CIE-LCHlch(45.90, 82.67, 298.17°)
OKLaboklab(54.92% 0.0119 -0.2101)
OKLCHoklch(54.92% 0.21 273.2)
XYZxyz(21.7547, 15.1978, 78.8620)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CE9 #E9DC4F
analogous
#4FA9E9 #4F5CE9 #8F4FE9
triadic
#4F5CE9 #E94F5C #5CE94F
tetradic
#4F5CE9 #E94FA9 #E9DC4F #4FE98F
square
#4F5CE9 #E94FA9 #E9DC4F #4FE98F
split-complementary
#4F5CE9 #E98F4F #A9E94F
monochromatic
#1522A9 #1C2CDF #4F5CE9 #858EF0 #BCC1F7

Accessibility & contrast

On white

5.20
#4F5CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4F5CE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CE9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CE9#FFFFFF#000000##FFFFFF
##4F5CE91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0066E6
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f5ce9;
/* rgb */ color: rgb(79, 92, 233);
/* oklch */ color: oklch(54.9% 0.210 273.2);
Tailwind
colors: {
  custom: {
    50: '#918af1',
    500: '#4f5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ce9;
$custom-light: #918af1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ce9",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 234.935,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54923,
    "c": 0.21043,
    "h": 273.2
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#4F5CE9
secondary
#E7E2AD
accent
#C90BDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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