#4F52DB#4F52DB

#4F52DB is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.1% C 0.204 H 275.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4F52DB
RGBrgb(79, 82, 219)
HSLhsl(239, 66%, 58%)
HSVhsv(239, 64%, 86%)
CMYKcmyk(63.9%, 62.6%, 0%, 14.1%)
CIE-LABlab(42.48, 40.43, -70.53)
CIE-LCHlch(42.48, 81.30, 299.82°)
OKLaboklab(52.06% 0.0203 -0.2033)
OKLCHoklch(52.06% 0.204 275.7)
XYZxyz(19.0237, 12.8097, 68.4741)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52DB #DBD84F
analogous
#4F98DB #4F52DB #924FDB
triadic
#4F52DB #DB4F52 #52DB4F
tetradic
#4F52DB #DB4F98 #DBD84F #4FDB92
square
#4F52DB #DB4F98 #DBD84F #4FDB92
split-complementary
#4F52DB #DB924F #98DB4F
monochromatic
#1E2092 #282CC5 #4F52DB #8284E5 #B5B6F0

Accessibility & contrast

On white

5.90
#4F52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4F52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52DB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52DB#FFFFFF#000000##FFFFFF
##4F52DB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f52db;
/* rgb */ color: rgb(79, 82, 219);
/* oklch */ color: oklch(52.1% 0.204 275.7);
Tailwind
colors: {
  custom: {
    50: '#8f83e7',
    500: '#4f52db',
    950: '#000000',
  },
}
SCSS
$custom: #4f52db;
$custom-light: #8f83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52db",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 238.714,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52059,
    "c": 0.20429,
    "h": 275.7
  },
  "luminance": 0.12811
}

Semantic roles & 50–950 ramp

primary
#4F52DB
secondary
#DFDDA7
accent
#E53FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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