#4F5BE3#4F5BE3

#4F5BE3 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.3% C 0.204 H 273.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4F5BE3
RGBrgb(79, 91, 227)
HSLhsl(235, 73%, 60%)
HSVhsv(235, 65%, 89%)
CMYKcmyk(65.2%, 59.9%, 0%, 11%)
CIE-LABlab(45.20, 37.62, -70.63)
CIE-LCHlch(45.20, 80.02, 298.04°)
OKLaboklab(54.26% 0.0128 -0.2035)
OKLCHoklch(54.26% 0.204 273.6)
XYZxyz(20.8261, 14.6886, 74.3958)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BE3 #E3D74F
analogous
#4FA5E3 #4F5BE3 #8D4FE3
triadic
#4F5BE3 #E34F5B #5BE34F
tetradic
#4F5BE3 #E34FA5 #E3D74F #4FE38D
square
#4F5BE3 #E34FA5 #E3D74F #4FE38D
split-complementary
#4F5BE3 #E38D4F #A5E34F
monochromatic
#19249E #2230D3 #4F5BE3 #848CEB #B9BDF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F5BE3#FFFFFF#000000##FFFFFF
##4F5BE31.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)
#0072E7
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5be3;
/* rgb */ color: rgb(79, 91, 227);
/* oklch */ color: oklch(54.3% 0.204 273.6);
Tailwind
colors: {
  custom: {
    50: '#9089ed',
    500: '#4f5be3',
    950: '#000000',
  },
}
SCSS
$custom: #4f5be3;
$custom-light: #9089ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5be3",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 235.135,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.54262,
    "c": 0.2039,
    "h": 273.6
  },
  "luminance": 0.1469
}

Semantic roles & 50–950 ramp

primary
#4F5BE3
secondary
#E3DFAA
accent
#E039EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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