#4E59B1#4E59B1

#4E59B1 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.139 H 274.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4E59B1
RGBrgb(78, 89, 177)
HSLhsl(233, 39%, 50%)
HSVhsv(233, 56%, 69%)
CMYKcmyk(55.9%, 49.7%, 0%, 30.6%)
CIE-LABlab(41.12, 21.87, -48.39)
CIE-LCHlch(41.12, 53.11, 294.32°)
OKLaboklab(50.08% 0.0118 -0.1381)
OKLCHoklch(50.08% 0.139 274.9)
XYZxyz(14.6475, 11.9378, 43.1188)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59B1 #B1A64E
analogous
#4E8BB1 #4E59B1 #744EB1
triadic
#4E59B1 #B14E59 #59B14E
tetradic
#4E59B1 #B14E8B #B1A64E #4EB174
square
#4E59B1 #B14E8B #B1A64E #4EB174
split-complementary
#4E59B1 #B1744E #8BB14E
monochromatic
#292E5C #3B4487 #4E59B1 #7881C4 #A3A9D6

Accessibility & contrast

On white

6.20
#4E59B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4E59B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59B1
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59B1#FFFFFF#000000##FFFFFF
##4E59B11.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B4
Deuteranopia (green-blind)
#1F5DAF
Tritanopia (blue-blind)
#186D7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e59b1;
/* rgb */ color: rgb(78, 89, 177);
/* oklch */ color: oklch(50.1% 0.139 274.9);
Tailwind
colors: {
  custom: {
    50: '#8787c9',
    500: '#4e59b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e59b1;
$custom-light: #8787c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59b1",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 177
  },
  "hsl": {
    "h": 233.333,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.50077,
    "c": 0.13865,
    "h": 274.9
  },
  "luminance": 0.11939
}

Semantic roles & 50–950 ramp

primary
#4E59B1
secondary
#C4BF97
accent
#C259CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E59B1

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

Preview Lab → · Contrast checker → · Palette generator →

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