#4B4EA5#4B4EA5

#4B4EA5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.137 H 278.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4B4EA5
RGBrgb(75, 78, 165)
HSLhsl(238, 38%, 47%)
HSVhsv(238, 55%, 65%)
CMYKcmyk(54.5%, 52.7%, 0%, 35.3%)
CIE-LABlab(37.23, 24.27, -47.54)
CIE-LCHlch(37.23, 53.38, 297.04°)
OKLaboklab(46.84% 0.0196 -0.1358)
OKLCHoklch(46.84% 0.137 278.2)
XYZxyz(12.4154, 9.6605, 36.8004)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4EA5 #A5A24B
analogous
#4B7BA5 #4B4EA5 #754BA5
triadic
#4B4EA5 #A54B4E #4EA54B
tetradic
#4B4EA5 #A54B7B #A5A24B #4BA575
square
#4B4EA5 #A54B7B #A5A24B #4BA575
split-complementary
#4B4EA5 #A5754B #7BA54B
monochromatic
#252651 #383A7B #4B4EA5 #6F72BE #9A9BD1

Accessibility & contrast

On white

7.16
#4B4EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4B4EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4EA5
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4EA5#FFFFFF#000000##FFFFFF
##4B4EA51.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA8
Deuteranopia (green-blind)
#1154A3
Tritanopia (blue-blind)
#216272
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4b4ea5;
/* rgb */ color: rgb(75, 78, 165);
/* oklch */ color: oklch(46.8% 0.137 278.2);
Tailwind
colors: {
  custom: {
    50: '#847fc0',
    500: '#4b4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #4b4ea5;
$custom-light: #847fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4ea5",
  "rgb": {
    "r": 75,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 238,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4684,
    "c": 0.13724,
    "h": 278.2
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#4B4EA5
secondary
#BDBC8F
accent
#CA5ACD
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4B4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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