#4B5CDF#4B5CDF

#4B5CDF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.199 H 272.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4B5CDF
RGBrgb(75, 92, 223)
HSLhsl(233, 70%, 58%)
HSVhsv(233, 66%, 87%)
CMYKcmyk(66.4%, 58.7%, 0%, 12.5%)
CIE-LABlab(44.91, 35.08, -68.85)
CIE-LCHlch(44.91, 77.27, 297.00°)
OKLaboklab(53.89% 0.0078 -0.1984)
OKLCHoklch(53.89% 0.199 272.3)
XYZxyz(20.0436, 14.4760, 71.5356)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5CDF #DFCE4B
analogous
#4BA6DF #4B5CDF #844BDF
triadic
#4B5CDF #DF4B5C #5CDF4B
tetradic
#4B5CDF #DF4BA6 #DFCE4B #4BDF84
square
#4B5CDF #DF4BA6 #DFCE4B #4BDF84
split-complementary
#4B5CDF #DF844B #A6DF4B
monochromatic
#1B2995 #2437C9 #4B5CDF #7F8BE8 #B3BAF1

Accessibility & contrast

On white

5.39
#4B5CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4B5CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5CDF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5CDF#FFFFFF#000000##FFFFFF
##4B5CDF1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0064DC
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b5cdf;
/* rgb */ color: rgb(75, 92, 223);
/* oklch */ color: oklch(53.9% 0.199 272.3);
Tailwind
colors: {
  custom: {
    50: '#8e8aea',
    500: '#4b5cdf',
    950: '#000000',
  },
}
SCSS
$custom: #4b5cdf;
$custom-light: #8e8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5cdf",
  "rgb": {
    "r": 75,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 233.108,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53886,
    "c": 0.19852,
    "h": 272.3
  },
  "luminance": 0.14478
}

Semantic roles & 50–950 ramp

primary
#4B5CDF
secondary
#E0DAA6
accent
#D83BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4B5CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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