#4B5ECC#4B5ECC

#4B5ECC is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.171 H 271.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4B5ECC
RGBrgb(75, 94, 204)
HSLhsl(231, 56%, 55%)
HSVhsv(231, 63%, 80%)
CMYKcmyk(63.2%, 53.9%, 0%, 20%)
CIE-LABlab(44.03, 27.31, -59.41)
CIE-LCHlch(44.03, 65.39, 294.69°)
OKLaboklab(52.8% 0.0056 -0.1706)
OKLCHoklch(52.8% 0.171 271.9)
XYZxyz(17.7998, 13.8594, 58.8521)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5ECC #CCB94B
analogous
#4B9ECC #4B5ECC #794BCC
triadic
#4B5ECC #CC4B5E #5ECC4B
tetradic
#4B5ECC #CC4B9E #CCB94B #4BCC79
square
#4B5ECC #CC4B9E #CCB94B #4BCC79
split-complementary
#4B5ECC #CC794B #9ECC4B
monochromatic
#232F7A #3042AA #4B5ECC #7B89DA #AAB3E7

Accessibility & contrast

On white

5.57
#4B5ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4B5ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5ECC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5ECC#FFFFFF#000000##FFFFFF
##4B5ECC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6ED0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4b5ecc;
/* rgb */ color: rgb(75, 94, 204);
/* oklch */ color: oklch(52.8% 0.171 271.9);
Tailwind
colors: {
  custom: {
    50: '#8a8bdc',
    500: '#4b5ecc',
    950: '#000000',
  },
}
SCSS
$custom: #4b5ecc;
$custom-light: #8a8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5ecc",
  "rgb": {
    "r": 75,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 231.163,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.17068,
    "h": 271.9
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

primary
#4B5ECC
secondary
#D5CD9E
accent
#C949DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4B5ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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