#4E58BA#4E58BA

#4E58BA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.153 H 275.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4E58BA
RGBrgb(78, 88, 186)
HSLhsl(234, 44%, 52%)
HSVhsv(234, 58%, 73%)
CMYKcmyk(58.1%, 52.7%, 0%, 27.1%)
CIE-LABlab(41.44, 25.52, -53.15)
CIE-LCHlch(41.44, 58.96, 295.65°)
OKLaboklab(50.51% 0.0137 -0.1521)
OKLCHoklch(50.51% 0.153 275.1)
XYZxyz(15.4917, 12.1432, 47.9724)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58BA #BAB04E
analogous
#4E8EBA #4E58BA #7A4EBA
triadic
#4E58BA #BA4E58 #58BA4E
tetradic
#4E58BA #BA4E8E #BAB04E #4EBA7A
square
#4E58BA #BA4E8E #BAB04E #4EBA7A
split-complementary
#4E58BA #BA7A4E #8EBA4E
monochromatic
#282D66 #394192 #4E58BA #7A82CB #A6ABDC

Accessibility & contrast

On white

6.12
#4E58BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4E58BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58BA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58BA#FFFFFF#000000##FFFFFF
##4E58BA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F66BD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#016E80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e58ba;
/* rgb */ color: rgb(78, 88, 186);
/* oklch */ color: oklch(50.5% 0.153 275.1);
Tailwind
colors: {
  custom: {
    50: '#8987cf',
    500: '#4e58ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e58ba;
$custom-light: #8987cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58ba",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 234.444,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50511,
    "c": 0.15275,
    "h": 275.1
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E58BA

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

Preview Lab → · Contrast checker → · Palette generator →

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