#4E488E#4E488E

#4E488E is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.3% C 0.112 H 284.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4E488E
RGBrgb(78, 72, 142)
HSLhsl(245, 33%, 42%)
HSVhsv(245, 49%, 56%)
CMYKcmyk(45.1%, 49.3%, 0%, 44.3%)
CIE-LABlab(34.41, 21.40, -38.15)
CIE-LCHlch(34.41, 43.75, 299.29°)
OKLaboklab(44.31% 0.0285 -0.1082)
OKLCHoklch(44.31% 0.112 284.8)
XYZxyz(10.3403, 8.2070, 26.6252)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E488E #888E48
analogous
#48658E #4E488E #71488E
triadic
#4E488E #8E4E48 #488E4E
tetradic
#4E488E #8E4865 #888E48 #488E71
square
#4E488E #8E4865 #888E48 #488E71
split-complementary
#4E488E #8E7148 #658E48
monochromatic
#211F3D #383365 #4E488E #6A63B0 #918CC5

Accessibility & contrast

On white

7.95
#4E488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4E488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E488E
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E488E#FFFFFF#000000##FFFFFF
##4E488E1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#294F8C
Tritanopia (blue-blind)
#3A5764
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e488e;
/* rgb */ color: rgb(78, 72, 142);
/* oklch */ color: oklch(44.3% 0.112 284.8);
Tailwind
colors: {
  custom: {
    50: '#837baf',
    500: '#4e488e',
    950: '#000000',
  },
}
SCSS
$custom: #4e488e;
$custom-light: #837baf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e488e",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 245.143,
    "s": 32.71,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44308,
    "c": 0.11189,
    "h": 284.8
  },
  "luminance": 0.08207
}

Semantic roles & 50–950 ramp

primary
#4E488E
secondary
#ACB082
accent
#C95FC0
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E488E

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

Preview Lab → · Contrast checker → · Palette generator →

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