#4B5FD4#4B5FD4

#4B5FD4 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.180 H 271.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4B5FD4
RGBrgb(75, 95, 212)
HSLhsl(231, 61%, 56%)
HSVhsv(231, 65%, 83%)
CMYKcmyk(64.6%, 55.2%, 0%, 16.9%)
CIE-LABlab(44.85, 29.43, -62.68)
CIE-LCHlch(44.85, 69.25, 295.15°)
OKLaboklab(53.59% 0.0051 -0.1802)
OKLCHoklch(53.59% 0.18 271.6)
XYZxyz(18.8735, 14.4321, 64.0656)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5FD4 #D4C04B
analogous
#4BA4D4 #4B5FD4 #7C4BD4
triadic
#4B5FD4 #D44B5F #5FD44B
tetradic
#4B5FD4 #D44BA4 #D4C04B #4BD47C
square
#4B5FD4 #D44BA4 #D4C04B #4BD47C
split-complementary
#4B5FD4 #D47C4B #A4D44B
monochromatic
#202F85 #2C40B6 #4B5FD4 #7C8BE0 #AEB7EC

Accessibility & contrast

On white

5.40
#4B5FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4B5FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5FD4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5FD4#FFFFFF#000000##FFFFFF
##4B5FD41.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b5fd4;
/* rgb */ color: rgb(75, 95, 212);
/* oklch */ color: oklch(53.6% 0.180 271.6);
Tailwind
colors: {
  custom: {
    50: '#8b8ce2',
    500: '#4b5fd4',
    950: '#000000',
  },
}
SCSS
$custom: #4b5fd4;
$custom-light: #8b8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5fd4",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 231.241,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53586,
    "c": 0.18027,
    "h": 271.6
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#4B5FD4
secondary
#DAD1A1
accent
#CD43E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4B5FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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