#4B54E1#4B54E1

#4B54E1 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.7% C 0.211 H 273.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4B54E1
RGBrgb(75, 84, 225)
HSLhsl(236, 71%, 59%)
HSVhsv(236, 67%, 88%)
CMYKcmyk(66.7%, 62.7%, 0%, 11.8%)
CIE-LABlab(43.17, 40.65, -72.83)
CIE-LCHlch(43.17, 83.40, 299.17°)
OKLaboklab(52.65% 0.0139 -0.2101)
OKLCHoklch(52.65% 0.211 273.8)
XYZxyz(19.6581, 13.2710, 72.7451)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B54E1 #E1D84B
analogous
#4B9FE1 #4B54E1 #8D4BE1
triadic
#4B54E1 #E14B54 #54E14B
tetradic
#4B54E1 #E14B9F #E1D84B #4BE18D
square
#4B54E1 #E14B9F #E1D84B #4BE18D
split-complementary
#4B54E1 #E18D4B #9FE14B
monochromatic
#192198 #222CCD #4B54E1 #7F86EA #B4B8F2

Accessibility & contrast

On white

5.75
#4B54E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4B54E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B54E1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B54E1#FFFFFF#000000##FFFFFF
##4B54E11.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b54e1;
/* rgb */ color: rgb(75, 84, 225);
/* oklch */ color: oklch(52.7% 0.211 273.8);
Tailwind
colors: {
  custom: {
    50: '#8f84eb',
    500: '#4b54e1',
    950: '#000000',
  },
}
SCSS
$custom: #4b54e1;
$custom-light: #8f84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b54e1",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 236.4,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52652,
    "c": 0.21056,
    "h": 273.8
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#4B54E1
secondary
#E1DEA6
accent
#E33AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4B54E1

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

Preview Lab → · Contrast checker → · Palette generator →

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