#4B54DB#4B54DB

#4B54DB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.1% C 0.203 H 274.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4B54DB
RGBrgb(75, 84, 219)
HSLhsl(236, 67%, 58%)
HSVhsv(236, 66%, 86%)
CMYKcmyk(65.8%, 61.6%, 0%, 14.1%)
CIE-LABlab(42.69, 38.64, -70.20)
CIE-LCHlch(42.69, 80.13, 298.83°)
OKLaboklab(52.15% 0.0143 -0.2024)
OKLCHoklch(52.15% 0.203 274)
XYZxyz(18.8539, 12.9493, 68.5100)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B54DB #DBD24B
analogous
#4B9CDB #4B54DB #8A4BDB
triadic
#4B54DB #DB4B54 #54DB4B
tetradic
#4B54DB #DB4B9C #DBD24B #4BDB8A
square
#4B54DB #DB4B9C #DBD24B #4BDB8A
split-complementary
#4B54DB #DB8A4B #9CDB4B
monochromatic
#1D248F #2730C2 #4B54DB #7E84E5 #B1B5EF

Accessibility & contrast

On white

5.85
#4B54DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4B54DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B54DB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B54DB#FFFFFF#000000##FFFFFF
##4B54DB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b54db;
/* rgb */ color: rgb(75, 84, 219);
/* oklch */ color: oklch(52.1% 0.203 274.0);
Tailwind
colors: {
  custom: {
    50: '#8e84e7',
    500: '#4b54db',
    950: '#000000',
  },
}
SCSS
$custom: #4b54db;
$custom-light: #8e84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b54db",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 236.25,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52148,
    "c": 0.20289,
    "h": 274
  },
  "luminance": 0.12951
}

Semantic roles & 50–950 ramp

primary
#4B54DB
secondary
#DEDAA4
accent
#DF3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4B54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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