#4E59A8#4E59A8

#4E59A8 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.126 H 274.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4E59A8
RGBrgb(78, 89, 168)
HSLhsl(233, 37%, 48%)
HSVhsv(233, 54%, 66%)
CMYKcmyk(53.6%, 47%, 0%, 34.1%)
CIE-LABlab(40.56, 18.88, -43.97)
CIE-LCHlch(40.56, 47.86, 293.24°)
OKLaboklab(49.47% 0.0107 -0.1252)
OKLCHoklch(49.47% 0.126 274.9)
XYZxyz(13.7799, 11.5907, 38.5493)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59A8 #A89D4E
analogous
#4E86A8 #4E59A8 #704EA8
triadic
#4E59A8 #A84E59 #59A84E
tetradic
#4E59A8 #A84E86 #A89D4E #4EA870
square
#4E59A8 #A84E86 #A89D4E #4EA870
split-complementary
#4E59A8 #A8704E #86A84E
monochromatic
#272D54 #3B437E #4E59A8 #757EBF #9EA5D2

Accessibility & contrast

On white

6.33
#4E59A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E59A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59A8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59A8#FFFFFF#000000##FFFFFF
##4E59A81.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3664AB
Deuteranopia (green-blind)
#2C5CA6
Tritanopia (blue-blind)
#246A78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e59a8;
/* rgb */ color: rgb(78, 89, 168);
/* oklch */ color: oklch(49.5% 0.126 274.9);
Tailwind
colors: {
  custom: {
    50: '#8687c2',
    500: '#4e59a8',
    950: '#000000',
  },
}
SCSS
$custom: #4e59a8;
$custom-light: #8687c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59a8",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 168
  },
  "hsl": {
    "h": 232.667,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49473,
    "c": 0.12562,
    "h": 274.9
  },
  "luminance": 0.11592
}

Semantic roles & 50–950 ramp

primary
#4E59A8
secondary
#BFBA93
accent
#BF5BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E59A8

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

Preview Lab → · Contrast checker → · Palette generator →

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