#4C54DF#4C54DF

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

Color values

HEX#4C54DF
RGBrgb(76, 84, 223)
HSLhsl(237, 70%, 59%)
HSVhsv(237, 66%, 87%)
CMYKcmyk(65.9%, 62.3%, 0%, 12.5%)
CIE-LABlab(43.07, 40.12, -71.85)
CIE-LCHlch(43.07, 82.29, 299.18°)
OKLaboklab(52.54% 0.0152 -0.2072)
OKLCHoklch(52.54% 0.208 274.2)
XYZxyz(19.4657, 13.2031, 71.3204)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C54DF #DFD74C
analogous
#4C9DDF #4C54DF #8D4CDF
triadic
#4C54DF #DF4C54 #54DF4C
tetradic
#4C54DF #DF4C9D #DFD74C #4CDF8D
square
#4C54DF #DF4C9D #DFD74C #4CDF8D
split-complementary
#4C54DF #DF8D4C #9DDF4C
monochromatic
#1B2196 #242DCA #4C54DF #8086E8 #B4B7F2

Accessibility & contrast

On white

5.77
#4C54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4C54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C54DF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C54DF#FFFFFF#000000##FFFFFF
##4C54DF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#005FDC
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c54df;
/* rgb */ color: rgb(76, 84, 223);
/* oklch */ color: oklch(52.5% 0.208 274.2);
Tailwind
colors: {
  custom: {
    50: '#8f84ea',
    500: '#4c54df',
    950: '#000000',
  },
}
SCSS
$custom: #4c54df;
$custom-light: #8f84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c54df",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 236.735,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52543,
    "c": 0.20777,
    "h": 274.2
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

primary
#4C54DF
secondary
#E0DDA6
accent
#E33BEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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