#4B4E9D#4B4E9D

#4B4E9D is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.126 H 278.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4B4E9D
RGBrgb(75, 78, 157)
HSLhsl(238, 35%, 45%)
HSVhsv(238, 52%, 62%)
CMYKcmyk(52.2%, 50.3%, 0%, 38.4%)
CIE-LABlab(36.70, 21.63, -43.59)
CIE-LCHlch(36.70, 48.66, 296.39°)
OKLaboklab(46.28% 0.0189 -0.1242)
OKLCHoklch(46.28% 0.126 278.6)
XYZxyz(11.7100, 9.3783, 33.0849)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4E9D #9D9A4B
analogous
#4B779D #4B4E9D #714B9D
triadic
#4B4E9D #9D4B4E #4E9D4B
tetradic
#4B4E9D #9D4B77 #9D9A4B #4B9D71
square
#4B4E9D #9D4B77 #9D9A4B #4B9D71
split-complementary
#4B4E9D #9D714B #779D4B
monochromatic
#23254A #373974 #4B4E9D #6C6FB9 #9698CD

Accessibility & contrast

On white

7.30
#4B4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4B4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4E9D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4E9D#FFFFFF#000000##FFFFFF
##4B4E9D1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#20539B
Tritanopia (blue-blind)
#295F6E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4b4e9d;
/* rgb */ color: rgb(75, 78, 157);
/* oklch */ color: oklch(46.3% 0.126 278.6);
Tailwind
colors: {
  custom: {
    50: '#837fba',
    500: '#4b4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #4b4e9d;
$custom-light: #837fba;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4e9d",
  "rgb": {
    "r": 75,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 237.805,
    "s": 35.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46278,
    "c": 0.12564,
    "h": 278.6
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#4B4E9D
secondary
#B9B78B
accent
#C75CCB
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4B4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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