#4E4295#4E4295

#4E4295 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.131 H 286.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4E4295
RGBrgb(78, 66, 149)
HSLhsl(249, 39%, 42%)
HSVhsv(249, 56%, 58%)
CMYKcmyk(47.7%, 55.7%, 0%, 41.6%)
CIE-LABlab(33.32, 27.43, -44.17)
CIE-LCHlch(33.32, 52.00, 301.84°)
OKLaboklab(43.64% 0.0367 -0.1259)
OKLCHoklch(43.64% 0.131 286.2)
XYZxyz(10.5133, 7.6856, 29.3575)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4295 #899542
analogous
#425F95 #4E4295 #784295
triadic
#4E4295 #954E42 #42954E
tetradic
#4E4295 #95425F #899542 #429578
square
#4E4295 #95425F #899542 #429578
split-complementary
#4E4295 #957842 #5F9542
monochromatic
#221C40 #382F6B #4E4295 #6A5DB7 #9187CA

Accessibility & contrast

On white

8.28
#4E4295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E4295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4295
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4295#FFFFFF#000000##FFFFFF
##4E42951.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155198
Deuteranopia (green-blind)
#134C93
Tritanopia (blue-blind)
#375465
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4295;
/* rgb */ color: rgb(78, 66, 149);
/* oklch */ color: oklch(43.6% 0.131 286.2);
Tailwind
colors: {
  custom: {
    50: '#8576b5',
    500: '#4e4295',
    950: '#000000',
  },
}
SCSS
$custom: #4e4295;
$custom-light: #8576b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4295",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 149
  },
  "hsl": {
    "h": 248.675,
    "s": 38.605,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43638,
    "c": 0.13115,
    "h": 286.2
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#4E4295
secondary
#ADB57E
accent
#CF59BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4295

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

Preview Lab → · Contrast checker → · Palette generator →

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