#4B54EC#4B54EC

#4B54EC is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.224 H 273.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4B54EC
RGBrgb(75, 84, 236)
HSLhsl(237, 81%, 61%)
HSVhsv(237, 68%, 93%)
CMYKcmyk(68.2%, 64.4%, 0%, 7.5%)
CIE-LABlab(44.08, 44.32, -77.57)
CIE-LCHlch(44.08, 89.34, 299.74°)
OKLaboklab(53.6% 0.0132 -0.224)
OKLCHoklch(53.6% 0.224 273.4)
XYZxyz(21.2072, 13.8906, 80.9042)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B54EC #ECE34B
analogous
#4BA4EC #4B54EC #924BEC
triadic
#4B54EC #EC4B54 #54EC4B
tetradic
#4B54EC #EC4BA4 #ECE34B #4BEC92
square
#4B54EC #EC4BA4 #ECE34B #4BEC92
split-complementary
#4B54EC #EC924B #A4EC4B
monochromatic
#121BAB #1823E2 #4B54EC #8289F2 #BABDF8

Accessibility & contrast

On white

5.56
#4B54EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4B54EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B54EC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B54EC#FFFFFF#000000##FFFFFF
##4B54EC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0061E9
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4b54ec;
/* rgb */ color: rgb(75, 84, 236);
/* oklch */ color: oklch(53.6% 0.224 273.4);
Tailwind
colors: {
  custom: {
    50: '#9184f3',
    500: '#4b54ec',
    950: '#000000',
  },
}
SCSS
$custom: #4b54ec;
$custom-light: #9184f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b54ec",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 236.646,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53595,
    "c": 0.2244,
    "h": 273.4
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#4B54EC
secondary
#E8E4AB
accent
#D108DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4B54EC

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

Preview Lab → · Contrast checker → · Palette generator →

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