#4B5ACC#4B5ACC

#4B5ACC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.0% C 0.176 H 273.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4B5ACC
RGBrgb(75, 90, 204)
HSLhsl(233, 56%, 55%)
HSVhsv(233, 63%, 80%)
CMYKcmyk(63.2%, 55.9%, 0%, 20%)
CIE-LABlab(43.01, 29.83, -61.06)
CIE-LCHlch(43.01, 67.96, 296.04°)
OKLaboklab(52.03% 0.0093 -0.1755)
OKLCHoklch(52.03% 0.176 273)
XYZxyz(17.4533, 13.1663, 58.7366)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5ACC #CCBD4B
analogous
#4B9BCC #4B5ACC #7C4BCC
triadic
#4B5ACC #CC4B5A #5ACC4B
tetradic
#4B5ACC #CC4B9B #CCBD4B #4BCC7C
square
#4B5ACC #CC4B9B #CCBD4B #4BCC7C
split-complementary
#4B5ACC #CC7C4B #9BCC4B
monochromatic
#232D7A #303EAA #4B5ACC #7B86DA #AAB1E7

Accessibility & contrast

On white

5.78
#4B5ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4B5ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5ACC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5ACC#FFFFFF#000000##FFFFFF
##4B5ACC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b5acc;
/* rgb */ color: rgb(75, 90, 204);
/* oklch */ color: oklch(52.0% 0.176 273.0);
Tailwind
colors: {
  custom: {
    50: '#8a88dc',
    500: '#4b5acc',
    950: '#000000',
  },
}
SCSS
$custom: #4b5acc;
$custom-light: #8a88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5acc",
  "rgb": {
    "r": 75,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 233.023,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52034,
    "c": 0.17574,
    "h": 273
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#4B5ACC
secondary
#D5CE9E
accent
#CE49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B5ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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