#4B4E98#4B4E98

#4B4E98 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.9% C 0.118 H 278.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#4B4E98
RGBrgb(75, 78, 152)
HSLhsl(238, 34%, 45%)
HSVhsv(238, 51%, 60%)
CMYKcmyk(50.7%, 48.7%, 0%, 40.4%)
CIE-LABlab(36.39, 19.99, -41.08)
CIE-LCHlch(36.39, 45.69, 295.95°)
OKLaboklab(45.94% 0.0183 -0.1168)
OKLCHoklch(45.94% 0.118 278.9)
XYZxyz(11.2918, 9.2110, 30.8826)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4E98 #98954B
analogous
#4B7598 #4B4E98 #6F4B98
triadic
#4B4E98 #984B4E #4E984B
tetradic
#4B4E98 #984B75 #98954B #4B986F
square
#4B4E98 #984B75 #98954B #4B986F
split-complementary
#4B4E98 #986F4B #75984B
monochromatic
#232446 #37396F #4B4E98 #6A6DB6 #9396CA

Accessibility & contrast

On white

7.39
#4B4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4B4E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4E98
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4E98#FFFFFF#000000##FFFFFF
##4B4E981.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599B
Deuteranopia (green-blind)
#275396
Tritanopia (blue-blind)
#2D5E6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4b4e98;
/* rgb */ color: rgb(75, 78, 152);
/* oklch */ color: oklch(45.9% 0.118 278.9);
Tailwind
colors: {
  custom: {
    50: '#837fb7',
    500: '#4b4e98',
    950: '#000000',
  },
}
SCSS
$custom: #4b4e98;
$custom-light: #837fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4e98",
  "rgb": {
    "r": 75,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 237.662,
    "s": 33.921,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45939,
    "c": 0.11828,
    "h": 278.9
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

primary
#4B4E98
secondary
#B6B489
accent
#C65ECA
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4B4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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