#4E4F9F#4E4F9F

#4E4F9F is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.127 H 279.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4E4F9F
RGBrgb(78, 79, 159)
HSLhsl(239, 34%, 46%)
HSVhsv(239, 51%, 62%)
CMYKcmyk(50.9%, 50.3%, 0%, 37.6%)
CIE-LABlab(37.32, 22.33, -43.78)
CIE-LCHlch(37.32, 49.15, 297.02°)
OKLaboklab(46.85% 0.0215 -0.1247)
OKLCHoklch(46.85% 0.127 279.8)
XYZxyz(12.1940, 9.7142, 34.0267)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F9F #9F9E4E
analogous
#4E789F #4E4F9F #764E9F
triadic
#4E4F9F #9F4E4F #4F9F4E
tetradic
#4E4F9F #9F4E78 #9F9E4E #4E9F76
square
#4E4F9F #9F4E78 #9F9E4E #4E9F76
split-complementary
#4E4F9F #9F764E #789F4E
monochromatic
#26264D #3A3B76 #4E4F9F #7172B9 #9A9BCD

Accessibility & contrast

On white

7.14
#4E4F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4E4F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F9F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F9F#FFFFFF#000000##FFFFFF
##4E4F9F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA2
Deuteranopia (green-blind)
#22559D
Tritanopia (blue-blind)
#2E606F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e4f9f;
/* rgb */ color: rgb(78, 79, 159);
/* oklch */ color: oklch(46.8% 0.127 279.8);
Tailwind
colors: {
  custom: {
    50: '#8580bc',
    500: '#4e4f9f',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f9f;
$custom-light: #8580bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f9f",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 239.259,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46846,
    "c": 0.12653,
    "h": 279.8
  },
  "luminance": 0.09715
}

Semantic roles & 50–950 ramp

primary
#4E4F9F
secondary
#BABA8F
accent
#C95ECA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4E4F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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