#4B54CE#4B54CE

#4B54CE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.186 H 274.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4B54CE
RGBrgb(75, 84, 206)
HSLhsl(236, 57%, 55%)
HSVhsv(236, 64%, 81%)
CMYKcmyk(63.6%, 59.2%, 0%, 19.2%)
CIE-LABlab(41.68, 34.26, -64.39)
CIE-LCHlch(41.68, 72.94, 298.02°)
OKLaboklab(51.09% 0.0146 -0.1853)
OKLCHoklch(51.09% 0.186 274.5)
XYZxyz(17.2089, 12.2913, 59.8461)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B54CE #CEC54B
analogous
#4B95CE #4B54CE #844BCE
triadic
#4B54CE #CE4B54 #54CE4B
tetradic
#4B54CE #CE4B95 #CEC54B #4BCE84
square
#4B54CE #CE4B95 #CEC54B #4BCE84
split-complementary
#4B54CE #CE844B #95CE4B
monochromatic
#22287D #2F38AD #4B54CE #7B82DB #ABAFE8

Accessibility & contrast

On white

6.07
#4B54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4B54CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B54CE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B54CE#FFFFFF#000000##FFFFFF
##4B54CE1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4b54ce;
/* rgb */ color: rgb(75, 84, 206);
/* oklch */ color: oklch(51.1% 0.186 274.5);
Tailwind
colors: {
  custom: {
    50: '#8b84de',
    500: '#4b54ce',
    950: '#000000',
  },
}
SCSS
$custom: #4b54ce;
$custom-light: #8b84de;
$custom-dark: #000000;
JSON
{
  "hex": "#4b54ce",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 235.878,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51086,
    "c": 0.1859,
    "h": 274.5
  },
  "luminance": 0.12293
}

Semantic roles & 50–950 ramp

primary
#4B54CE
secondary
#D6D29F
accent
#D647E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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