#4E4695#4E4695

#4E4695 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.125 H 284.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4E4695
RGBrgb(78, 70, 149)
HSLhsl(246, 36%, 43%)
HSVhsv(246, 53%, 58%)
CMYKcmyk(47.7%, 53%, 0%, 41.6%)
CIE-LABlab(34.33, 24.89, -42.54)
CIE-LCHlch(34.33, 49.29, 300.33°)
OKLaboklab(44.39% 0.0317 -0.1211)
OKLCHoklch(44.39% 0.125 284.7)
XYZxyz(10.7553, 8.1695, 29.4381)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4695 #8D9546
analogous
#466595 #4E4695 #754695
triadic
#4E4695 #954E46 #46954E
tetradic
#4E4695 #954665 #8D9546 #469575
square
#4E4695 #954665 #8D9546 #469575
split-complementary
#4E4695 #957546 #659546
monochromatic
#221F42 #38326B #4E4695 #6B63B6 #928CC9

Accessibility & contrast

On white

7.97
#4E4695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4E4695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4695
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4695#FFFFFF#000000##FFFFFF
##4E46951.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#1D4E93
Tritanopia (blue-blind)
#365766
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4695;
/* rgb */ color: rgb(78, 70, 149);
/* oklch */ color: oklch(44.4% 0.125 284.7);
Tailwind
colors: {
  custom: {
    50: '#8479b5',
    500: '#4e4695',
    950: '#000000',
  },
}
SCSS
$custom: #4e4695;
$custom-light: #8479b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4695",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 149
  },
  "hsl": {
    "h": 246.076,
    "s": 36.073,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44394,
    "c": 0.12518,
    "h": 284.7
  },
  "luminance": 0.0817
}

Semantic roles & 50–950 ramp

primary
#4E4695
secondary
#AFB582
accent
#CC5CC1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4695

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

Preview Lab → · Contrast checker → · Palette generator →

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