#4E4895#4E4895

#4E4895 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.122 H 283.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4E4895
RGBrgb(78, 72, 149)
HSLhsl(245, 35%, 43%)
HSVhsv(245, 52%, 58%)
CMYKcmyk(47.7%, 51.7%, 0%, 41.6%)
CIE-LABlab(34.85, 23.61, -41.71)
CIE-LCHlch(34.85, 47.93, 299.51°)
OKLaboklab(44.78% 0.0292 -0.1187)
OKLCHoklch(44.78% 0.122 283.8)
XYZxyz(10.8825, 8.4239, 29.4805)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4895 #8F9548
analogous
#486895 #4E4895 #744895
triadic
#4E4895 #954E48 #48954E
tetradic
#4E4895 #954868 #8F9548 #489574
square
#4E4895 #954868 #8F9548 #489574
split-complementary
#4E4895 #957448 #689548
monochromatic
#232042 #38346C #4E4895 #6C65B5 #938FC9

Accessibility & contrast

On white

7.82
#4E4895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4E4895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4895
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4895#FFFFFF#000000##FFFFFF
##4E48951.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255498
Deuteranopia (green-blind)
#214F93
Tritanopia (blue-blind)
#365867
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4895;
/* rgb */ color: rgb(78, 72, 149);
/* oklch */ color: oklch(44.8% 0.122 283.8);
Tailwind
colors: {
  custom: {
    50: '#847bb5',
    500: '#4e4895',
    950: '#000000',
  },
}
SCSS
$custom: #4e4895;
$custom-light: #847bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4895",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 244.675,
    "s": 34.842,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44781,
    "c": 0.1222,
    "h": 283.8
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#4E4895
secondary
#B1B484
accent
#CB5DC2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4895

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

Preview Lab → · Contrast checker → · Palette generator →

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