#4E5895#4E5895

#4E5895 is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.1% C 0.099 H 275.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4E5895
RGBrgb(78, 88, 149)
HSLhsl(232, 31%, 45%)
HSVhsv(232, 48%, 58%)
CMYKcmyk(47.7%, 40.9%, 0%, 41.6%)
CIE-LABlab(39.19, 13.34, -34.80)
CIE-LCHlch(39.19, 37.27, 290.96°)
OKLaboklab(48.07% 0.0087 -0.0983)
OKLCHoklch(48.07% 0.099 275)
XYZxyz(12.0547, 10.7684, 29.8713)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5895 #958B4E
analogous
#4E7C95 #4E5895 #674E95
triadic
#4E5895 #954E58 #58954E
tetradic
#4E5895 #954E7C #958B4E #4E9567
square
#4E5895 #954E7C #958B4E #4E9567
split-complementary
#4E5895 #95674E #7C954E
monochromatic
#242945 #39406D #4E5895 #6D77B3 #969DC8

Accessibility & contrast

On white

6.66
#4E5895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4E5895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5895
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5895#FFFFFF#000000##FFFFFF
##4E58951.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F97
Deuteranopia (green-blind)
#3B5A94
Tritanopia (blue-blind)
#34656F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e5895;
/* rgb */ color: rgb(78, 88, 149);
/* oklch */ color: oklch(48.1% 0.099 275.0);
Tailwind
colors: {
  custom: {
    50: '#8487b4',
    500: '#4e5895',
    950: '#000000',
  },
}
SCSS
$custom: #4e5895;
$custom-light: #8487b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5895",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 149
  },
  "hsl": {
    "h": 231.549,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48072,
    "c": 0.0987,
    "h": 275
  },
  "luminance": 0.10769
}

Semantic roles & 50–950 ramp

primary
#4E5895
secondary
#B4AE8A
accent
#B960C7
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5895

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

Preview Lab → · Contrast checker → · Palette generator →

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