#4E59BA#4E59BA

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

Color values

HEX#4E59BA
RGBrgb(78, 89, 186)
HSLhsl(234, 44%, 52%)
HSVhsv(234, 58%, 73%)
CMYKcmyk(58.1%, 52.2%, 0%, 27.1%)
CIE-LABlab(41.70, 24.89, -52.73)
CIE-LCHlch(41.70, 58.31, 295.27°)
OKLaboklab(50.71% 0.0126 -0.1509)
OKLCHoklch(50.71% 0.151 274.8)
XYZxyz(15.5743, 12.3085, 47.9999)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59BA #BAAF4E
analogous
#4E8FBA #4E59BA #794EBA
triadic
#4E59BA #BA4E59 #59BA4E
tetradic
#4E59BA #BA4E8F #BAAF4E #4EBA79
square
#4E59BA #BA4E8F #BAAF4E #4EBA79
split-complementary
#4E59BA #BA794E #8FBA4E
monochromatic
#282E66 #394292 #4E59BA #7A82CB #A6ACDC

Accessibility & contrast

On white

6.07
#4E59BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4E59BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59BA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59BA#FFFFFF#000000##FFFFFF
##4E59BA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2267BD
Deuteranopia (green-blind)
#075EB8
Tritanopia (blue-blind)
#016F81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e59ba;
/* rgb */ color: rgb(78, 89, 186);
/* oklch */ color: oklch(50.7% 0.151 274.8);
Tailwind
colors: {
  custom: {
    50: '#8987cf',
    500: '#4e59ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e59ba;
$custom-light: #8987cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59ba",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 233.889,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.15143,
    "h": 274.8
  },
  "luminance": 0.1231
}

Semantic roles & 50–950 ramp

primary
#4E59BA
secondary
#CAC59A
accent
#C754D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E59BA

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

Preview Lab → · Contrast checker → · Palette generator →

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