#4F52EA#4F52EA

#4F52EA is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.223 H 274.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4F52EA
RGBrgb(79, 82, 234)
HSLhsl(239, 79%, 61%)
HSVhsv(239, 66%, 92%)
CMYKcmyk(66.2%, 65%, 0%, 8.2%)
CIE-LABlab(43.71, 45.34, -77.04)
CIE-LCHlch(43.71, 89.39, 300.48°)
OKLaboklab(53.34% 0.0192 -0.2224)
OKLCHoklch(53.34% 0.223 274.9)
XYZxyz(21.0881, 13.6355, 79.3465)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52EA #EAE74F
analogous
#4FA0EA #4F52EA #9A4FEA
triadic
#4F52EA #EA4F52 #52EA4F
tetradic
#4F52EA #EA4FA0 #EAE74F #4FEA9A
square
#4F52EA #EA4FA0 #EAE74F #4FEA9A
split-complementary
#4F52EA #EA9A4F #A0EA4F
monochromatic
#1417AA #1B1FE1 #4F52EA #8688F1 #BCBDF7

Accessibility & contrast

On white

5.63
#4F52EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4F52EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52EA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52EA#FFFFFF#000000##FFFFFF
##4F52EA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0060E7
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f52ea;
/* rgb */ color: rgb(79, 82, 234);
/* oklch */ color: oklch(53.3% 0.223 274.9);
Tailwind
colors: {
  custom: {
    50: '#9283f2',
    500: '#4f52ea',
    950: '#000000',
  },
}
SCSS
$custom: #4f52ea;
$custom-light: #9283f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52ea",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 238.839,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.22318,
    "h": 274.9
  },
  "luminance": 0.13637
}

Semantic roles & 50–950 ramp

primary
#4F52EA
secondary
#E7E6AD
accent
#D70BDB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #4F52EA

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

Preview Lab → · Contrast checker → · Palette generator →

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