#4B54CD#4B54CD

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

Color values

HEX#4B54CD
RGBrgb(75, 84, 205)
HSLhsl(236, 57%, 55%)
HSVhsv(236, 63%, 80%)
CMYKcmyk(63.4%, 59%, 0%, 19.6%)
CIE-LABlab(41.60, 33.92, -63.93)
CIE-LCHlch(41.60, 72.38, 297.95°)
OKLaboklab(51.01% 0.0147 -0.184)
OKLCHoklch(51.01% 0.185 274.6)
XYZxyz(17.0878, 12.2428, 59.2084)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B54CD #CDC44B
analogous
#4B95CD #4B54CD #834BCD
triadic
#4B54CD #CD4B54 #54CD4B
tetradic
#4B54CD #CD4B95 #CDC44B #4BCD83
square
#4B54CD #CD4B95 #CDC44B #4BCD83
split-complementary
#4B54CD #CD834B #95CD4B
monochromatic
#22287B #3038AB #4B54CD #7B82DA #ABAFE8

Accessibility & contrast

On white

6.09
#4B54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4B54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B54CD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B54CD#FFFFFF#000000##FFFFFF
##4B54CD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4b54cd;
/* rgb */ color: rgb(75, 84, 205);
/* oklch */ color: oklch(51.0% 0.185 274.6);
Tailwind
colors: {
  custom: {
    50: '#8b84dd',
    500: '#4b54cd',
    950: '#000000',
  },
}
SCSS
$custom: #4b54cd;
$custom-light: #8b84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b54cd",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 235.846,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.18457,
    "h": 274.6
  },
  "luminance": 0.12244
}

Semantic roles & 50–950 ramp

primary
#4B54CD
secondary
#D5D19F
accent
#D548E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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