#4E59B2#4E59B2

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

Color values

HEX#4E59B2
RGBrgb(78, 89, 178)
HSLhsl(233, 39%, 50%)
HSVhsv(233, 56%, 70%)
CMYKcmyk(56.2%, 50%, 0%, 30.2%)
CIE-LABlab(41.18, 22.21, -48.88)
CIE-LCHlch(41.18, 53.69, 294.44°)
OKLaboklab(50.15% 0.0119 -0.1396)
OKLCHoklch(50.15% 0.14 274.9)
XYZxyz(14.7476, 11.9778, 43.6457)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59B2 #B2A74E
analogous
#4E8BB2 #4E59B2 #754EB2
triadic
#4E59B2 #B24E59 #59B24E
tetradic
#4E59B2 #B24E8B #B2A74E #4EB275
square
#4E59B2 #B24E8B #B2A74E #4EB275
split-complementary
#4E59B2 #B2754E #8BB24E
monochromatic
#292E5D #3B4388 #4E59B2 #7981C5 #A3A9D7

Accessibility & contrast

On white

6.18
#4E59B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4E59B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59B2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59B2#FFFFFF#000000##FFFFFF
##4E59B21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#1D5DB0
Tritanopia (blue-blind)
#176D7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e59b2;
/* rgb */ color: rgb(78, 89, 178);
/* oklch */ color: oklch(50.1% 0.140 274.9);
Tailwind
colors: {
  custom: {
    50: '#8887c9',
    500: '#4e59b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e59b2;
$custom-light: #8887c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59b2",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 233.4,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50146,
    "c": 0.14009,
    "h": 274.9
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E59B2

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

Preview Lab → · Contrast checker → · Palette generator →

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