#4E59BC#4E59BC

#4E59BC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.154 H 274.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4E59BC
RGBrgb(78, 89, 188)
HSLhsl(234, 45%, 52%)
HSVhsv(234, 59%, 74%)
CMYKcmyk(58.5%, 52.7%, 0%, 26.3%)
CIE-LABlab(41.84, 25.56, -53.68)
CIE-LCHlch(41.84, 59.46, 295.46°)
OKLaboklab(50.85% 0.0128 -0.1537)
OKLCHoklch(50.85% 0.154 274.7)
XYZxyz(15.7884, 12.3941, 49.1275)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59BC #BCB14E
analogous
#4E90BC #4E59BC #7A4EBC
triadic
#4E59BC #BC4E59 #59BC4E
tetradic
#4E59BC #BC4E90 #BCB14E #4EBC7A
square
#4E59BC #BC4E90 #BCB14E #4EBC7A
split-complementary
#4E59BC #BC7A4E #90BC4E
monochromatic
#272E68 #384195 #4E59BC #7A83CD #A7ACDE

Accessibility & contrast

On white

6.04
#4E59BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4E59BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59BC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59BC#FFFFFF#000000##FFFFFF
##4E59BC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68BF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e59bc;
/* rgb */ color: rgb(78, 89, 188);
/* oklch */ color: oklch(50.8% 0.154 274.7);
Tailwind
colors: {
  custom: {
    50: '#8987d1',
    500: '#4e59bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e59bc;
$custom-light: #8987d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59bc",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 234,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50849,
    "c": 0.15423,
    "h": 274.7
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#4E59BC
secondary
#CBC69B
accent
#C853D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E59BC

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

Preview Lab → · Contrast checker → · Palette generator →

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