#4E55A2#4E55A2

#4E55A2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.122 H 276.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4E55A2
RGBrgb(78, 85, 162)
HSLhsl(235, 35%, 47%)
HSVhsv(235, 52%, 64%)
CMYKcmyk(51.9%, 47.5%, 0%, 36.5%)
CIE-LABlab(39.11, 19.46, -42.72)
CIE-LCHlch(39.11, 46.94, 294.50°)
OKLaboklab(48.26% 0.0146 -0.1215)
OKLCHoklch(48.26% 0.122 276.9)
XYZxyz(12.9099, 10.7246, 35.5652)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E55A2 #A29B4E
analogous
#4E7FA2 #4E55A2 #714EA2
triadic
#4E55A2 #A24E55 #55A24E
tetradic
#4E55A2 #A24E7F #A29B4E #4EA271
square
#4E55A2 #A24E7F #A29B4E #4EA271
split-complementary
#4E55A2 #A2714E #7FA24E
monochromatic
#262A4F #3A3F79 #4E55A2 #7278BB #9BA0CF

Accessibility & contrast

On white

6.68
#4E55A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4E55A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E55A2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E55A2#FFFFFF#000000##FFFFFF
##4E55A21.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#2B59A0
Tritanopia (blue-blind)
#2B6673
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e55a2;
/* rgb */ color: rgb(78, 85, 162);
/* oklch */ color: oklch(48.3% 0.122 276.9);
Tailwind
colors: {
  custom: {
    50: '#8584be',
    500: '#4e55a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e55a2;
$custom-light: #8584be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e55a2",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 235,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48258,
    "c": 0.12239,
    "h": 276.9
  },
  "luminance": 0.10725
}

Semantic roles & 50–950 ramp

primary
#4E55A2
secondary
#BCB890
accent
#C25DCB
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E55A2

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

Preview Lab → · Contrast checker → · Palette generator →

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