#4E58AA#4E58AA

#4E58AA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.130 H 275.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4E58AA
RGBrgb(78, 88, 170)
HSLhsl(233, 37%, 49%)
HSVhsv(233, 54%, 67%)
CMYKcmyk(54.1%, 48.2%, 0%, 33.3%)
CIE-LABlab(40.41, 20.18, -45.39)
CIE-LCHlch(40.41, 49.68, 293.97°)
OKLaboklab(49.4% 0.0121 -0.1293)
OKLCHoklch(49.4% 0.13 275.4)
XYZxyz(13.8850, 11.5005, 39.5106)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58AA #AAA04E
analogous
#4E86AA #4E58AA #724EAA
triadic
#4E58AA #AA4E58 #58AA4E
tetradic
#4E58AA #AA4E86 #AAA04E #4EAA72
square
#4E58AA #AA4E86 #AAA04E #4EAA72
split-complementary
#4E58AA #AA724E #86AA4E
monochromatic
#282D56 #3B4280 #4E58AA #757DC0 #9FA5D3

Accessibility & contrast

On white

6.36
#4E58AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4E58AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58AA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58AA#FFFFFF#000000##FFFFFF
##4E58AA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#275CA8
Tritanopia (blue-blind)
#226A79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e58aa;
/* rgb */ color: rgb(78, 88, 170);
/* oklch */ color: oklch(49.4% 0.130 275.4);
Tailwind
colors: {
  custom: {
    50: '#8687c4',
    500: '#4e58aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e58aa;
$custom-light: #8687c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58aa",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 233.478,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49401,
    "c": 0.12991,
    "h": 275.4
  },
  "luminance": 0.11501
}

Semantic roles & 50–950 ramp

primary
#4E58AA
secondary
#C0BB94
accent
#C15BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E58AA

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

Preview Lab → · Contrast checker → · Palette generator →

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