#4B54CB#4B54CB

#4B54CB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.182 H 274.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4B54CB
RGBrgb(75, 84, 203)
HSLhsl(236, 55%, 55%)
HSVhsv(236, 63%, 80%)
CMYKcmyk(63.1%, 58.6%, 0%, 20.4%)
CIE-LABlab(41.45, 33.25, -63.03)
CIE-LCHlch(41.45, 71.26, 297.81°)
OKLaboklab(50.85% 0.0147 -0.1813)
OKLCHoklch(50.85% 0.182 274.6)
XYZxyz(16.8479, 12.1469, 57.9451)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B54CB #CBC24B
analogous
#4B94CB #4B54CB #824BCB
triadic
#4B54CB #CB4B54 #54CB4B
tetradic
#4B54CB #CB4B94 #CBC24B #4BCB82
square
#4B54CB #CB4B94 #CBC24B #4BCB82
split-complementary
#4B54CB #CB824B #94CB4B
monochromatic
#232979 #3139A8 #4B54CB #7A81D9 #AAAEE6

Accessibility & contrast

On white

6.12
#4B54CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4B54CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B54CB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B54CB#FFFFFF#000000##FFFFFF
##4B54CB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4b54cb;
/* rgb */ color: rgb(75, 84, 203);
/* oklch */ color: oklch(50.8% 0.182 274.6);
Tailwind
colors: {
  custom: {
    50: '#8b84dc',
    500: '#4b54cb',
    950: '#000000',
  },
}
SCSS
$custom: #4b54cb;
$custom-light: #8b84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b54cb",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 235.781,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50847,
    "c": 0.18191,
    "h": 274.6
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#4B54CB
secondary
#D4D09E
accent
#D449DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B54CB

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

Preview Lab → · Contrast checker → · Palette generator →

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