#4F54DB#4F54DB

#4F54DB is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.4% C 0.202 H 275.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4F54DB
RGBrgb(79, 84, 219)
HSLhsl(238, 66%, 58%)
HSVhsv(238, 64%, 86%)
CMYKcmyk(63.9%, 61.6%, 0%, 14.1%)
CIE-LABlab(42.94, 39.22, -69.78)
CIE-LCHlch(42.94, 80.04, 299.34°)
OKLaboklab(52.4% 0.0187 -0.201)
OKLCHoklch(52.4% 0.202 275.3)
XYZxyz(19.1768, 13.1158, 68.5251)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54DB #DBD64F
analogous
#4F9ADB #4F54DB #904FDB
triadic
#4F54DB #DB4F54 #54DB4F
tetradic
#4F54DB #DB4F9A #DBD64F #4FDB90
square
#4F54DB #DB4F9A #DBD64F #4FDB90
split-complementary
#4F54DB #DB904F #9ADB4F
monochromatic
#1E2292 #282EC5 #4F54DB #8285E5 #B5B7F0

Accessibility & contrast

On white

5.80
#4F54DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4F54DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54DB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54DB#FFFFFF#000000##FFFFFF
##4F54DB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f54db;
/* rgb */ color: rgb(79, 84, 219);
/* oklch */ color: oklch(52.4% 0.202 275.3);
Tailwind
colors: {
  custom: {
    50: '#8f84e7',
    500: '#4f54db',
    950: '#000000',
  },
}
SCSS
$custom: #4f54db;
$custom-light: #8f84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54db",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 237.857,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52398,
    "c": 0.20192,
    "h": 275.3
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

primary
#4F54DB
secondary
#DFDDA7
accent
#E33FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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