#4B54D8#4B54D8

#4B54D8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.199 H 274.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4B54D8
RGBrgb(75, 84, 216)
HSLhsl(236, 64%, 57%)
HSVhsv(236, 65%, 85%)
CMYKcmyk(65.3%, 61.1%, 0%, 15.3%)
CIE-LABlab(42.45, 37.63, -68.87)
CIE-LCHlch(42.45, 78.48, 298.65°)
OKLaboklab(51.9% 0.0144 -0.1985)
OKLCHoklch(51.9% 0.199 274.1)
XYZxyz(18.4625, 12.7927, 66.4487)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B54D8 #D8CF4B
analogous
#4B9BD8 #4B54D8 #884BD8
triadic
#4B54D8 #D84B54 #54D84B
tetradic
#4B54D8 #D84B9B #D8CF4B #4BD888
square
#4B54D8 #D84B9B #D8CF4B #4BD888
split-complementary
#4B54D8 #D8884B #9BD84B
monochromatic
#1E258B #2932BD #4B54D8 #7D84E3 #B0B4EE

Accessibility & contrast

On white

5.90
#4B54D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4B54D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B54D8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B54D8#FFFFFF#000000##FFFFFF
##4B54D81.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#005ED5
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b54d8;
/* rgb */ color: rgb(75, 84, 216);
/* oklch */ color: oklch(51.9% 0.199 274.1);
Tailwind
colors: {
  custom: {
    50: '#8d84e5',
    500: '#4b54d8',
    950: '#000000',
  },
}
SCSS
$custom: #4b54d8;
$custom-light: #8d84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b54d8",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 236.17,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.19901,
    "h": 274.1
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#4B54D8
secondary
#DCD8A3
accent
#DD40E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4B54D8

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

Preview Lab → · Contrast checker → · Palette generator →

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