#4F54CC#4F54CC

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

Color values

HEX#4F54CC
RGBrgb(79, 84, 204)
HSLhsl(238, 55%, 55%)
HSVhsv(238, 61%, 80%)
CMYKcmyk(61.3%, 58.8%, 0%, 20%)
CIE-LABlab(41.78, 34.24, -63.05)
CIE-LCHlch(41.78, 71.74, 298.50°)
OKLaboklab(51.19% 0.0192 -0.1813)
OKLCHoklch(51.19% 0.182 276)
XYZxyz(17.2903, 12.3612, 58.5898)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54CC #CCC74F
analogous
#4F92CC #4F54CC #884FCC
triadic
#4F54CC #CC4F54 #54CC4F
tetradic
#4F54CC #CC4F92 #CCC74F #4FCC88
square
#4F54CC #CC4F92 #CCC74F #4FCC88
split-complementary
#4F54CC #CC884F #92CC4F
monochromatic
#24287D #3237AC #4F54CC #7E82DA #AEB0E7

Accessibility & contrast

On white

6.05
#4F54CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4F54CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54CC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54CC#FFFFFF#000000##FFFFFF
##4F54CC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f54cc;
/* rgb */ color: rgb(79, 84, 204);
/* oklch */ color: oklch(51.2% 0.182 276.0);
Tailwind
colors: {
  custom: {
    50: '#8d84dc',
    500: '#4f54cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f54cc;
$custom-light: #8d84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54cc",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 237.6,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51187,
    "c": 0.18228,
    "h": 276
  },
  "luminance": 0.12363
}

Semantic roles & 50–950 ramp

primary
#4F54CC
secondary
#D5D3A1
accent
#D849DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F54CC

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

Preview Lab → · Contrast checker → · Palette generator →

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