#4E4E9B#4E4E9B

#4E4E9B is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.122 H 280.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4E4E9B
RGBrgb(78, 78, 155)
HSLhsl(240, 33%, 46%)
HSVhsv(240, 50%, 61%)
CMYKcmyk(49.7%, 49.7%, 0%, 39.2%)
CIE-LABlab(36.81, 21.68, -42.21)
CIE-LCHlch(36.81, 47.45, 297.19°)
OKLaboklab(46.38% 0.0223 -0.1201)
OKLCHoklch(46.38% 0.122 280.5)
XYZxyz(11.7809, 9.4344, 32.2043)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E9B #9B9B4E
analogous
#4E749B #4E4E9B #744E9B
triadic
#4E4E9B #9B4E4E #4E9B4E
tetradic
#4E4E9B #9B4E74 #9B9B4E #4E9B74
square
#4E4E9B #9B4E74 #9B9B4E #4E9B74
split-complementary
#4E4E9B #9B744E #749B4E
monochromatic
#25254A #3A3A72 #4E4E9B #6F6FB7 #9898CB

Accessibility & contrast

On white

7.27
#4E4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E4E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E9B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E9B#FFFFFF#000000##FFFFFF
##4E4E9B1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5A9E
Deuteranopia (green-blind)
#255499
Tritanopia (blue-blind)
#315F6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4e9b;
/* rgb */ color: rgb(78, 78, 155);
/* oklch */ color: oklch(46.4% 0.122 280.5);
Tailwind
colors: {
  custom: {
    50: '#857fb9',
    500: '#4e4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e9b;
$custom-light: #857fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e9b",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 240,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46376,
    "c": 0.12213,
    "h": 280.5
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

primary
#4E4E9B
secondary
#B8B88D
accent
#C95FC9
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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