#4E4E9C#4E4E9C

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

Color values

HEX#4E4E9C
RGBrgb(78, 78, 156)
HSLhsl(240, 33%, 46%)
HSVhsv(240, 50%, 61%)
CMYKcmyk(50%, 50%, 0%, 38.8%)
CIE-LABlab(36.87, 22.00, -42.71)
CIE-LCHlch(36.87, 48.04, 297.25°)
OKLaboklab(46.44% 0.0224 -0.1215)
OKLCHoklch(46.44% 0.124 280.5)
XYZxyz(11.8652, 9.4681, 32.6484)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E9C #9C9C4E
analogous
#4E759C #4E4E9C #754E9C
triadic
#4E4E9C #9C4E4E #4E9C4E
tetradic
#4E4E9C #9C4E75 #9C9C4E #4E9C75
square
#4E4E9C #9C4E75 #9C9C4E #4E9C75
split-complementary
#4E4E9C #9C754E #759C4E
monochromatic
#25254A #3A3A73 #4E4E9C #7070B7 #9999CC

Accessibility & contrast

On white

7.26
#4E4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4E9C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E9C#FFFFFF#000000##FFFFFF
##4E4E9C1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5A9F
Deuteranopia (green-blind)
#24549A
Tritanopia (blue-blind)
#315F6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4e9c;
/* rgb */ color: rgb(78, 78, 156);
/* oklch */ color: oklch(46.4% 0.124 280.5);
Tailwind
colors: {
  custom: {
    50: '#857fba',
    500: '#4e4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e9c;
$custom-light: #857fba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e9c",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 240,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.12359,
    "h": 280.5
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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