#4F54D6#4F54D6

#4F54D6 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.0% C 0.195 H 275.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4F54D6
RGBrgb(79, 84, 214)
HSLhsl(238, 62%, 57%)
HSVhsv(238, 63%, 84%)
CMYKcmyk(63.1%, 60.7%, 0%, 16.1%)
CIE-LABlab(42.55, 37.56, -67.56)
CIE-LCHlch(42.55, 77.30, 299.07°)
OKLaboklab(51.99% 0.0189 -0.1945)
OKLCHoklch(51.99% 0.195 275.6)
XYZxyz(18.5284, 12.8564, 65.1104)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54D6 #D6D14F
analogous
#4F97D6 #4F54D6 #8E4FD6
triadic
#4F54D6 #D64F54 #54D64F
tetradic
#4F54D6 #D64F97 #D6D14F #4FD68E
square
#4F54D6 #D64F97 #D6D14F #4FD68E
split-complementary
#4F54D6 #D68E4F #97D64F
monochromatic
#20248A #2C31BC #4F54D6 #8184E2 #B2B4ED

Accessibility & contrast

On white

5.88
#4F54D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4F54D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54D6
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54D6#FFFFFF#000000##FFFFFF
##4F54D61.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f54d6;
/* rgb */ color: rgb(79, 84, 214);
/* oklch */ color: oklch(52.0% 0.195 275.6);
Tailwind
colors: {
  custom: {
    50: '#8e84e4',
    500: '#4f54d6',
    950: '#000000',
  },
}
SCSS
$custom: #4f54d6;
$custom-light: #8e84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54d6",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 237.778,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51988,
    "c": 0.19545,
    "h": 275.6
  },
  "luminance": 0.12858
}

Semantic roles & 50–950 ramp

primary
#4F54D6
secondary
#DCDAA5
accent
#DF43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F54D6

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

Preview Lab → · Contrast checker → · Palette generator →

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