#4E59BB#4E59BB

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

Color values

HEX#4E59BB
RGBrgb(78, 89, 187)
HSLhsl(234, 44%, 52%)
HSVhsv(234, 58%, 73%)
CMYKcmyk(58.3%, 52.4%, 0%, 26.7%)
CIE-LABlab(41.77, 25.23, -53.20)
CIE-LCHlch(41.77, 58.88, 295.37°)
OKLaboklab(50.78% 0.0127 -0.1523)
OKLCHoklch(50.78% 0.153 274.8)
XYZxyz(15.6810, 12.3512, 48.5618)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59BB #BBB04E
analogous
#4E90BB #4E59BB #7A4EBB
triadic
#4E59BB #BB4E59 #59BB4E
tetradic
#4E59BB #BB4E90 #BBB04E #4EBB7A
square
#4E59BB #BB4E90 #BBB04E #4EBB7A
split-complementary
#4E59BB #BB7A4E #90BB4E
monochromatic
#282E67 #394293 #4E59BB #7A82CC #A6ACDD

Accessibility & contrast

On white

6.05
#4E59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4E59BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59BB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59BB#FFFFFF#000000##FFFFFF
##4E59BB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BE
Deuteranopia (green-blind)
#025EB9
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e59bb;
/* rgb */ color: rgb(78, 89, 187);
/* oklch */ color: oklch(50.8% 0.153 274.8);
Tailwind
colors: {
  custom: {
    50: '#8987d0',
    500: '#4e59bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e59bb;
$custom-light: #8987d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59bb",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 233.945,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50777,
    "c": 0.15284,
    "h": 274.8
  },
  "luminance": 0.12352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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