#4B54CC#4B54CC

#4B54CC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.183 H 274.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4B54CC
RGBrgb(75, 84, 204)
HSLhsl(236, 56%, 55%)
HSVhsv(236, 63%, 80%)
CMYKcmyk(63.2%, 58.8%, 0%, 20%)
CIE-LABlab(41.52, 33.59, -63.48)
CIE-LCHlch(41.52, 71.82, 297.88°)
OKLaboklab(50.93% 0.0147 -0.1827)
OKLCHoklch(50.93% 0.183 274.6)
XYZxyz(16.9675, 12.1947, 58.5747)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B54CC #CCC34B
analogous
#4B95CC #4B54CC #834BCC
triadic
#4B54CC #CC4B54 #54CC4B
tetradic
#4B54CC #CC4B95 #CCC34B #4BCC83
square
#4B54CC #CC4B95 #CCC34B #4BCC83
split-complementary
#4B54CC #CC834B #95CC4B
monochromatic
#23297A #3039AA #4B54CC #7B81DA #AAAFE7

Accessibility & contrast

On white

6.11
#4B54CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4B54CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B54CC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B54CC#FFFFFF#000000##FFFFFF
##4B54CC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b54cc;
/* rgb */ color: rgb(75, 84, 204);
/* oklch */ color: oklch(50.9% 0.183 274.6);
Tailwind
colors: {
  custom: {
    50: '#8b84dc',
    500: '#4b54cc',
    950: '#000000',
  },
}
SCSS
$custom: #4b54cc;
$custom-light: #8b84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b54cc",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 235.814,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50927,
    "c": 0.18325,
    "h": 274.6
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#4B54CC
secondary
#D5D19E
accent
#D549DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B54CC

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

Preview Lab → · Contrast checker → · Palette generator →

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