#4E3FA8#4E3FA8

#4E3FA8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.6% C 0.161 H 284.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#4E3FA8
RGBrgb(78, 63, 168)
HSLhsl(249, 45%, 45%)
HSVhsv(249, 63%, 66%)
CMYKcmyk(53.6%, 62.5%, 0%, 34.1%)
CIE-LABlab(33.99, 35.27, -54.57)
CIE-LCHlch(33.99, 64.98, 302.88°)
OKLaboklab(44.57% 0.0397 -0.1565)
OKLCHoklch(44.57% 0.161 284.2)
XYZxyz(11.9851, 8.0012, 37.9511)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FA8 #99A83F
analogous
#3F65A8 #4E3FA8 #823FA8
triadic
#4E3FA8 #A84E3F #3FA84E
tetradic
#4E3FA8 #A83F65 #99A83F #3FA882
square
#4E3FA8 #A83F65 #99A83F #3FA882
split-complementary
#4E3FA8 #A8823F #65A83F
monochromatic
#251E4F #392E7B #4E3FA8 #6F61C4 #978DD4

Accessibility & contrast

On white

8.08
#4E3FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E3FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3FA8
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FA8#FFFFFF#000000##FFFFFF
##4E3FA81.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#004DA6
Tritanopia (blue-blind)
#29586D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e3fa8;
/* rgb */ color: rgb(78, 63, 168);
/* oklch */ color: oklch(44.6% 0.161 284.2);
Tailwind
colors: {
  custom: {
    50: '#8875c3',
    500: '#4e3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fa8;
$custom-light: #8875c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fa8",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 248.571,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44569,
    "c": 0.16147,
    "h": 284.2
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#4E3FA8
secondary
#B7BF84
accent
#D553C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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