#4F5CE3#4F5CE3

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

Color values

HEX#4F5CE3
RGBrgb(79, 92, 227)
HSLhsl(235, 73%, 60%)
HSVhsv(235, 65%, 89%)
CMYKcmyk(65.2%, 59.5%, 0%, 11%)
CIE-LABlab(45.44, 37.01, -70.24)
CIE-LCHlch(45.44, 79.39, 297.78°)
OKLaboklab(54.44% 0.012 -0.2023)
OKLCHoklch(54.44% 0.203 273.4)
XYZxyz(20.9121, 14.8607, 74.4245)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CE3 #E3D64F
analogous
#4FA6E3 #4F5CE3 #8C4FE3
triadic
#4F5CE3 #E34F5C #5CE34F
tetradic
#4F5CE3 #E34FA6 #E3D64F #4FE38C
square
#4F5CE3 #E34FA6 #E3D64F #4FE38C
split-complementary
#4F5CE3 #E38C4F #A6E34F
monochromatic
#19259E #2231D3 #4F5CE3 #848DEB #B9BEF4

Accessibility & contrast

On white

5.29
#4F5CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4F5CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CE3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CE3#FFFFFF#000000##FFFFFF
##4F5CE31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0065E0
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f5ce3;
/* rgb */ color: rgb(79, 92, 227);
/* oklch */ color: oklch(54.4% 0.203 273.4);
Tailwind
colors: {
  custom: {
    50: '#908aed',
    500: '#4f5ce3',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ce3;
$custom-light: #908aed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ce3",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 234.73,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.54438,
    "c": 0.20271,
    "h": 273.4
  },
  "luminance": 0.14863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F5CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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