#4E5A95#4E5A95

#4E5A95 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.5% C 0.096 H 273.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#4E5A95
RGBrgb(78, 90, 149)
HSLhsl(230, 31%, 45%)
HSVhsv(230, 48%, 58%)
CMYKcmyk(47.7%, 39.6%, 0%, 41.6%)
CIE-LABlab(39.75, 12.06, -33.91)
CIE-LCHlch(39.75, 35.99, 289.58°)
OKLaboklab(48.5% 0.006 -0.0957)
OKLCHoklch(48.5% 0.096 273.6)
XYZxyz(12.2212, 11.1013, 29.9267)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A95 #95894E
analogous
#4E7E95 #4E5A95 #664E95
triadic
#4E5A95 #954E5A #5A954E
tetradic
#4E5A95 #954E7E #95894E #4E9566
square
#4E5A95 #954E7E #95894E #4E9566
split-complementary
#4E5A95 #95664E #7E954E
monochromatic
#242945 #39426D #4E5A95 #6D79B3 #969EC8

Accessibility & contrast

On white

6.52
#4E5A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4E5A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5A95
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A95#FFFFFF#000000##FFFFFF
##4E5A951.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446197
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#346670
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e5a95;
/* rgb */ color: rgb(78, 90, 149);
/* oklch */ color: oklch(48.5% 0.096 273.6);
Tailwind
colors: {
  custom: {
    50: '#8488b4',
    500: '#4e5a95',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a95;
$custom-light: #8488b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a95",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 149
  },
  "hsl": {
    "h": 229.859,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48504,
    "c": 0.0959,
    "h": 273.6
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#4E5A95
secondary
#B4AD8A
accent
#B660C7
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5A95

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

Preview Lab → · Contrast checker → · Palette generator →

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