#4C54DB#4C54DB

#4C54DB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.2% C 0.203 H 274.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4C54DB
RGBrgb(76, 84, 219)
HSLhsl(237, 67%, 58%)
HSVhsv(237, 65%, 86%)
CMYKcmyk(65.3%, 61.6%, 0%, 14.1%)
CIE-LABlab(42.75, 38.78, -70.09)
CIE-LCHlch(42.75, 80.11, 298.96°)
OKLaboklab(52.21% 0.0154 -0.2021)
OKLCHoklch(52.21% 0.203 274.3)
XYZxyz(18.9328, 12.9900, 68.5137)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C54DB #DBD34C
analogous
#4C9CDB #4C54DB #8B4CDB
triadic
#4C54DB #DB4C54 #54DB4C
tetradic
#4C54DB #DB4C9C #DBD34C #4CDB8B
square
#4C54DB #DB4C9C #DBD34C #4CDB8B
split-complementary
#4C54DB #DB8B4C #9CDB4C
monochromatic
#1D2390 #2730C3 #4C54DB #7F85E5 #B2B5EF

Accessibility & contrast

On white

5.84
#4C54DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C54DB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C54DB#FFFFFF#000000##FFFFFF
##4C54DB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c54db;
/* rgb */ color: rgb(76, 84, 219);
/* oklch */ color: oklch(52.2% 0.203 274.3);
Tailwind
colors: {
  custom: {
    50: '#8e84e7',
    500: '#4c54db',
    950: '#000000',
  },
}
SCSS
$custom: #4c54db;
$custom-light: #8e84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c54db",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 236.643,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52209,
    "c": 0.20264,
    "h": 274.3
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#4C54DB
secondary
#DEDBA5
accent
#E03EE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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