#4B5FCC#4B5FCC

#4B5FCC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.169 H 271.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4B5FCC
RGBrgb(75, 95, 204)
HSLhsl(231, 56%, 55%)
HSVhsv(231, 63%, 80%)
CMYKcmyk(63.2%, 53.4%, 0%, 20%)
CIE-LABlab(44.29, 26.68, -59.00)
CIE-LCHlch(44.29, 64.75, 294.33°)
OKLaboklab(52.99% 0.0047 -0.1694)
OKLCHoklch(52.99% 0.169 271.6)
XYZxyz(17.8893, 14.0384, 58.8820)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5FCC #CCB84B
analogous
#4B9FCC #4B5FCC #784BCC
triadic
#4B5FCC #CC4B5F #5FCC4B
tetradic
#4B5FCC #CC4B9F #CCB84B #4BCC78
square
#4B5FCC #CC4B9F #CCB84B #4BCC78
split-complementary
#4B5FCC #CC784B #9FCC4B
monochromatic
#23307A #3043AA #4B5FCC #7B89DA #AAB4E7

Accessibility & contrast

On white

5.51
#4B5FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4B5FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5FCC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5FCC#FFFFFF#000000##FFFFFF
##4B5FCC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156FD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4b5fcc;
/* rgb */ color: rgb(75, 95, 204);
/* oklch */ color: oklch(53.0% 0.169 271.6);
Tailwind
colors: {
  custom: {
    50: '#8a8cdc',
    500: '#4b5fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4b5fcc;
$custom-light: #8a8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5fcc",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 230.698,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5299,
    "c": 0.16943,
    "h": 271.6
  },
  "luminance": 0.1404
}

Semantic roles & 50–950 ramp

primary
#4B5FCC
secondary
#D5CC9E
accent
#C849DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4B5FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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