#4F5AEC#4F5AEC

#4F5AEC is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.8% C 0.217 H 273.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4F5AEC
RGBrgb(79, 90, 236)
HSLhsl(236, 81%, 62%)
HSVhsv(236, 67%, 93%)
CMYKcmyk(66.5%, 61.9%, 0%, 7.5%)
CIE-LABlab(45.67, 41.24, -74.95)
CIE-LCHlch(45.67, 85.54, 298.82°)
OKLaboklab(54.83% 0.0133 -0.2162)
OKLCHoklch(54.83% 0.217 273.5)
XYZxyz(22.0159, 15.0287, 81.0812)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5AEC #ECE14F
analogous
#4FA9EC #4F5AEC #934FEC
triadic
#4F5AEC #EC4F5A #5AEC4F
tetradic
#4F5AEC #EC4FA9 #ECE14F #4FEC93
square
#4F5AEC #EC4FA9 #ECE14F #4FEC93
split-complementary
#4F5AEC #EC934F #A9EC4F
monochromatic
#131EAE #1927E5 #4F5AEC #868EF2 #BDC2F8

Accessibility & contrast

On white

5.24
#4F5AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4F5AEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5AEC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5AEC#FFFFFF#000000##FFFFFF
##4F5AEC1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#007F9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f5aec;
/* rgb */ color: rgb(79, 90, 236);
/* oklch */ color: oklch(54.8% 0.217 273.5);
Tailwind
colors: {
  custom: {
    50: '#9289f3',
    500: '#4f5aec',
    950: '#000000',
  },
}
SCSS
$custom: #4f5aec;
$custom-light: #9289f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5aec",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 235.796,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.21659,
    "h": 273.5
  },
  "luminance": 0.15031
}

Semantic roles & 50–950 ramp

primary
#4F5AEC
secondary
#E8E4AE
accent
#CE09DD
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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