#4E59B9#4E59B9

#4E59B9 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.150 H 274.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4E59B9
RGBrgb(78, 89, 185)
HSLhsl(234, 43%, 52%)
HSVhsv(234, 58%, 73%)
CMYKcmyk(57.8%, 51.9%, 0%, 27.5%)
CIE-LABlab(41.64, 24.55, -52.25)
CIE-LCHlch(41.64, 57.73, 295.17°)
OKLaboklab(50.64% 0.0126 -0.1495)
OKLCHoklch(50.64% 0.15 274.8)
XYZxyz(15.4684, 12.2661, 47.4420)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59B9 #B9AE4E
analogous
#4E8FB9 #4E59B9 #794EB9
triadic
#4E59B9 #B94E59 #59B94E
tetradic
#4E59B9 #B94E8F #B9AE4E #4EB979
square
#4E59B9 #B94E8F #B9AE4E #4EB979
split-complementary
#4E59B9 #B9794E #8FB94E
monochromatic
#282E65 #394291 #4E59B9 #7A82CA #A6ABDC

Accessibility & contrast

On white

6.08
#4E59B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4E59B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59B9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59B9#FFFFFF#000000##FFFFFF
##4E59B91.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2467BC
Deuteranopia (green-blind)
#0B5EB7
Tritanopia (blue-blind)
#046F80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e59b9;
/* rgb */ color: rgb(78, 89, 185);
/* oklch */ color: oklch(50.6% 0.150 274.8);
Tailwind
colors: {
  custom: {
    50: '#8987cf',
    500: '#4e59b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e59b9;
$custom-light: #8987cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59b9",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 185
  },
  "hsl": {
    "h": 233.832,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50635,
    "c": 0.15003,
    "h": 274.8
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#4E59B9
secondary
#C9C49A
accent
#C655D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E59B9

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

Preview Lab → · Contrast checker → · Palette generator →

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