#4F52E3#4F52E3

#4F52E3 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.214 H 275.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4F52E3
RGBrgb(79, 82, 227)
HSLhsl(239, 73%, 60%)
HSVhsv(239, 65%, 89%)
CMYKcmyk(65.2%, 63.9%, 0%, 11%)
CIE-LABlab(43.12, 43.06, -74.03)
CIE-LCHlch(43.12, 85.64, 300.18°)
OKLaboklab(52.74% 0.0198 -0.2135)
OKLCHoklch(52.74% 0.214 275.3)
XYZxyz(20.1023, 13.2411, 74.1546)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52E3 #E3E04F
analogous
#4F9CE3 #4F52E3 #964FE3
triadic
#4F52E3 #E34F52 #52E34F
tetradic
#4F52E3 #E34F9C #E3E04F #4FE396
square
#4F52E3 #E34F9C #E3E04F #4FE396
split-complementary
#4F52E3 #E3964F #9CE34F
monochromatic
#191C9E #2225D3 #4F52E3 #8486EB #B9BAF4

Accessibility & contrast

On white

5.76
#4F52E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4F52E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52E3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52E3#FFFFFF#000000##FFFFFF
##4F52E31.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#005FE0
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f52e3;
/* rgb */ color: rgb(79, 82, 227);
/* oklch */ color: oklch(52.7% 0.214 275.3);
Tailwind
colors: {
  custom: {
    50: '#9183ed',
    500: '#4f52e3',
    950: '#000000',
  },
}
SCSS
$custom: #4f52e3;
$custom-light: #9183ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52e3",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 238.784,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.21444,
    "h": 275.3
  },
  "luminance": 0.13243
}

Semantic roles & 50–950 ramp

primary
#4F52E3
secondary
#E3E2AA
accent
#EC39EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F52E3

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

Preview Lab → · Contrast checker → · Palette generator →

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