#4E5295#4E5295

#4E5295 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.8% C 0.107 H 278.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4E5295
RGBrgb(78, 82, 149)
HSLhsl(237, 31%, 45%)
HSVhsv(237, 48%, 58%)
CMYKcmyk(47.7%, 45%, 0%, 41.6%)
CIE-LABlab(37.52, 17.18, -37.44)
CIE-LCHlch(37.52, 41.20, 294.65°)
OKLaboklab(46.8% 0.0164 -0.1061)
OKLCHoklch(46.8% 0.107 278.8)
XYZxyz(11.5823, 9.8236, 29.7138)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5295 #95914E
analogous
#4E7695 #4E5295 #6E4E95
triadic
#4E5295 #954E52 #52954E
tetradic
#4E5295 #954E76 #95914E #4E956E
square
#4E5295 #954E76 #95914E #4E956E
split-complementary
#4E5295 #956E4E #76954E
monochromatic
#242645 #393C6D #4E5295 #6D71B3 #9698C8

Accessibility & contrast

On white

7.08
#4E5295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4E5295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5295
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5295#FFFFFF#000000##FFFFFF
##4E52951.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B98
Deuteranopia (green-blind)
#325693
Tritanopia (blue-blind)
#35606C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e5295;
/* rgb */ color: rgb(78, 82, 149);
/* oklch */ color: oklch(46.8% 0.107 278.8);
Tailwind
colors: {
  custom: {
    50: '#8482b4',
    500: '#4e5295',
    950: '#000000',
  },
}
SCSS
$custom: #4e5295;
$custom-light: #8482b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5295",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 149
  },
  "hsl": {
    "h": 236.62,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46801,
    "c": 0.10733,
    "h": 278.8
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#4E5295
secondary
#B4B28A
accent
#C260C7
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5295

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

Preview Lab → · Contrast checker → · Palette generator →

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