#4F54DA#4F54DA

#4F54DA is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.3% C 0.201 H 275.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4F54DA
RGBrgb(79, 84, 218)
HSLhsl(238, 65%, 58%)
HSVhsv(238, 64%, 85%)
CMYKcmyk(63.8%, 61.5%, 0%, 14.5%)
CIE-LABlab(42.86, 38.89, -69.33)
CIE-LCHlch(42.86, 79.50, 299.29°)
OKLaboklab(52.32% 0.0188 -0.1997)
OKLCHoklch(52.32% 0.201 275.4)
XYZxyz(19.0455, 13.0633, 67.8339)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54DA #DAD54F
analogous
#4F99DA #4F54DA #8F4FDA
triadic
#4F54DA #DA4F54 #54DA4F
tetradic
#4F54DA #DA4F99 #DAD54F #4FDA8F
square
#4F54DA #DA4F99 #DAD54F #4FDA8F
split-complementary
#4F54DA #DA8F4F #99DA4F
monochromatic
#1E2290 #292EC3 #4F54DA #8285E5 #B4B6EF

Accessibility & contrast

On white

5.81
#4F54DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4F54DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54DA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54DA#FFFFFF#000000##FFFFFF
##4F54DA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f54da;
/* rgb */ color: rgb(79, 84, 218);
/* oklch */ color: oklch(52.3% 0.201 275.4);
Tailwind
colors: {
  custom: {
    50: '#8f84e6',
    500: '#4f54da',
    950: '#000000',
  },
}
SCSS
$custom: #4f54da;
$custom-light: #8f84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54da",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 237.842,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52315,
    "c": 0.20063,
    "h": 275.4
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#4F54DA
secondary
#DEDCA7
accent
#E240E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F54DA

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

Preview Lab → · Contrast checker → · Palette generator →

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