#4E58B2#4E58B2

#4E58B2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.9% C 0.141 H 275.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4E58B2
RGBrgb(78, 88, 178)
HSLhsl(234, 39%, 50%)
HSVhsv(234, 56%, 70%)
CMYKcmyk(56.2%, 50.6%, 0%, 30.2%)
CIE-LABlab(40.92, 22.84, -49.30)
CIE-LCHlch(40.92, 54.34, 294.86°)
OKLaboklab(49.95% 0.013 -0.1408)
OKLCHoklch(49.95% 0.141 275.3)
XYZxyz(14.6649, 11.8125, 43.6181)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58B2 #B2A84E
analogous
#4E8AB2 #4E58B2 #764EB2
triadic
#4E58B2 #B24E58 #58B24E
tetradic
#4E58B2 #B24E8A #B2A84E #4EB276
square
#4E58B2 #B24E8A #B2A84E #4EB276
split-complementary
#4E58B2 #B2764E #8AB24E
monochromatic
#292E5D #3B4388 #4E58B2 #7980C5 #A3A8D7

Accessibility & contrast

On white

6.24
#4E58B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4E58B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58B2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58B2#FFFFFF#000000##FFFFFF
##4E58B21.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#1A5CB0
Tritanopia (blue-blind)
#176C7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e58b2;
/* rgb */ color: rgb(78, 88, 178);
/* oklch */ color: oklch(49.9% 0.141 275.3);
Tailwind
colors: {
  custom: {
    50: '#8887ca',
    500: '#4e58b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e58b2;
$custom-light: #8887ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58b2",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 234,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49946,
    "c": 0.14144,
    "h": 275.3
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#4E58B2
secondary
#C4C098
accent
#C359CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E58B2

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

Preview Lab → · Contrast checker → · Palette generator →

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