#4B5AC7#4B5AC7

#4B5AC7 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.7% C 0.169 H 273.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4B5AC7
RGBrgb(75, 90, 199)
HSLhsl(233, 53%, 54%)
HSVhsv(233, 62%, 78%)
CMYKcmyk(62.3%, 54.8%, 0%, 22%)
CIE-LABlab(42.66, 28.12, -58.75)
CIE-LCHlch(42.66, 65.13, 295.58°)
OKLaboklab(51.66% 0.0091 -0.1687)
OKLCHoklch(51.66% 0.169 273.1)
XYZxyz(16.8632, 12.9303, 55.6289)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5AC7 #C7B84B
analogous
#4B98C7 #4B5AC7 #7A4BC7
triadic
#4B5AC7 #C74B5A #5AC74B
tetradic
#4B5AC7 #C74B98 #C7B84B #4BC77A
square
#4B5AC7 #C74B98 #C7B84B #4BC77A
split-complementary
#4B5AC7 #C77A4B #98C74B
monochromatic
#242E74 #3240A2 #4B5AC7 #7A85D6 #A8B0E4

Accessibility & contrast

On white

5.86
#4B5AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4B5AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5AC7
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5AC7#FFFFFF#000000##FFFFFF
##4B5AC71.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046ACB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b5ac7;
/* rgb */ color: rgb(75, 90, 199);
/* oklch */ color: oklch(51.7% 0.169 273.1);
Tailwind
colors: {
  custom: {
    50: '#8988d9',
    500: '#4b5ac7',
    950: '#000000',
  },
}
SCSS
$custom: #4b5ac7;
$custom-light: #8988d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5ac7",
  "rgb": {
    "r": 75,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 232.742,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51657,
    "c": 0.16894,
    "h": 273.1
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#4B5AC7
secondary
#D1CB9C
accent
#CB4CDC
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B5AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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