#4F54D9#4F54D9

#4F54D9 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.2% C 0.199 H 275.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4F54D9
RGBrgb(79, 84, 217)
HSLhsl(238, 64%, 58%)
HSVhsv(238, 64%, 85%)
CMYKcmyk(63.6%, 61.3%, 0%, 14.9%)
CIE-LABlab(42.78, 38.56, -68.89)
CIE-LCHlch(42.78, 78.95, 299.23°)
OKLaboklab(52.23% 0.0188 -0.1984)
OKLCHoklch(52.23% 0.199 275.4)
XYZxyz(18.9151, 13.0111, 67.1468)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54D9 #D9D44F
analogous
#4F99D9 #4F54D9 #8F4FD9
triadic
#4F54D9 #D94F54 #54D94F
tetradic
#4F54D9 #D94F99 #D9D44F #4FD98F
square
#4F54D9 #D94F99 #D9D44F #4FD98F
split-complementary
#4F54D9 #D98F4F #99D94F
monochromatic
#1F238F #2A2FC1 #4F54D9 #8185E4 #B4B6EF

Accessibility & contrast

On white

5.83
#4F54D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4F54D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54D9
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54D9#FFFFFF#000000##FFFFFF
##4F54D91.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005FD6
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f54d9;
/* rgb */ color: rgb(79, 84, 217);
/* oklch */ color: oklch(52.2% 0.199 275.4);
Tailwind
colors: {
  custom: {
    50: '#8f84e6',
    500: '#4f54d9',
    950: '#000000',
  },
}
SCSS
$custom: #4f54d9;
$custom-light: #8f84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54d9",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 237.826,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.19934,
    "h": 275.4
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

primary
#4F54D9
secondary
#DDDBA6
accent
#E140E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F54D9

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

Preview Lab → · Contrast checker → · Palette generator →

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