#4F54DC#4F54DC

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

Color values

HEX#4F54DC
RGBrgb(79, 84, 220)
HSLhsl(238, 67%, 59%)
HSVhsv(238, 64%, 86%)
CMYKcmyk(64.1%, 61.8%, 0%, 13.7%)
CIE-LABlab(43.02, 39.55, -70.22)
CIE-LCHlch(43.02, 80.59, 299.39°)
OKLaboklab(52.48% 0.0187 -0.2023)
OKLCHoklch(52.48% 0.203 275.3)
XYZxyz(19.3088, 13.1686, 69.2205)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54DC #DCD74F
analogous
#4F9ADC #4F54DC #904FDC
triadic
#4F54DC #DC4F54 #54DC4F
tetradic
#4F54DC #DC4F9A #DCD74F #4FDC90
square
#4F54DC #DC4F9A #DCD74F #4FDC90
split-complementary
#4F54DC #DC904F #9ADC4F
monochromatic
#1D2193 #272DC6 #4F54DC #8286E6 #B5B7F0

Accessibility & contrast

On white

5.78
#4F54DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4F54DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54DC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54DC#FFFFFF#000000##FFFFFF
##4F54DC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f54dc;
/* rgb */ color: rgb(79, 84, 220);
/* oklch */ color: oklch(52.5% 0.203 275.3);
Tailwind
colors: {
  custom: {
    50: '#9084e8',
    500: '#4f54dc',
    950: '#000000',
  },
}
SCSS
$custom: #4f54dc;
$custom-light: #9084e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54dc",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 237.872,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5248,
    "c": 0.20321,
    "h": 275.3
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#4F54DC
secondary
#DFDDA8
accent
#E43EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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