#4F54CD#4F54CD

#4F54CD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.3% C 0.184 H 276.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4F54CD
RGBrgb(79, 84, 205)
HSLhsl(238, 56%, 56%)
HSVhsv(238, 61%, 80%)
CMYKcmyk(61.5%, 59%, 0%, 19.6%)
CIE-LABlab(41.86, 34.57, -63.50)
CIE-LCHlch(41.86, 72.30, 298.56°)
OKLaboklab(51.27% 0.0192 -0.1826)
OKLCHoklch(51.27% 0.184 276)
XYZxyz(17.4106, 12.4093, 59.2235)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54CD #CDC84F
analogous
#4F93CD #4F54CD #894FCD
triadic
#4F54CD #CD4F54 #54CD4F
tetradic
#4F54CD #CD4F93 #CDC84F #4FCD89
square
#4F54CD #CD4F93 #CDC84F #4FCD89
split-complementary
#4F54CD #CD894F #93CD4F
monochromatic
#24277E #3136AE #4F54CD #7F82DB #AEB1E8

Accessibility & contrast

On white

6.03
#4F54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4F54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54CD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54CD#FFFFFF#000000##FFFFFF
##4F54CD1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f54cd;
/* rgb */ color: rgb(79, 84, 205);
/* oklch */ color: oklch(51.3% 0.184 276.0);
Tailwind
colors: {
  custom: {
    50: '#8d84dd',
    500: '#4f54cd',
    950: '#000000',
  },
}
SCSS
$custom: #4f54cd;
$custom-light: #8d84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54cd",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 237.619,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.18362,
    "h": 276
  },
  "luminance": 0.12411
}

Semantic roles & 50–950 ramp

primary
#4F54CD
secondary
#D6D4A2
accent
#D949DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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