#4B4E8D#4B4E8D

#4B4E8D is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.2% C 0.102 H 279.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4B4E8D
RGBrgb(75, 78, 141)
HSLhsl(237, 31%, 42%)
HSVhsv(237, 47%, 55%)
CMYKcmyk(46.8%, 44.7%, 0%, 44.7%)
CIE-LABlab(35.73, 16.43, -35.46)
CIE-LCHlch(35.73, 39.08, 294.87°)
OKLaboklab(45.22% 0.0167 -0.1004)
OKLCHoklch(45.22% 0.102 279.4)
XYZxyz(10.4323, 8.8672, 26.3560)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4E8D #8D8A4B
analogous
#4B6F8D #4B4E8D #694B8D
triadic
#4B4E8D #8D4B4E #4E8D4B
tetradic
#4B4E8D #8D4B6F #8D8A4B #4B8D69
square
#4B4E8D #8D4B6F #8D8A4B #4B8D69
split-complementary
#4B4E8D #8D694B #6F8D4B
monochromatic
#20223D #363865 #4B4E8D #676AAE #8F91C3

Accessibility & contrast

On white

7.57
#4B4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4B4E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4E8D
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4E8D#FFFFFF#000000##FFFFFF
##4B4E8D1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36578F
Deuteranopia (green-blind)
#31528C
Tritanopia (blue-blind)
#345B66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4b4e8d;
/* rgb */ color: rgb(75, 78, 141);
/* oklch */ color: oklch(45.2% 0.102 279.4);
Tailwind
colors: {
  custom: {
    50: '#817faf',
    500: '#4b4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #4b4e8d;
$custom-light: #817faf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4e8d",
  "rgb": {
    "r": 75,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 237.273,
    "s": 30.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45224,
    "c": 0.10174,
    "h": 279.4
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

primary
#4B4E8D
secondary
#B0AE84
accent
#C261C7
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4B4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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