#4E58AF#4E58AF

#4E58AF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.137 H 275.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4E58AF
RGBrgb(78, 88, 175)
HSLhsl(234, 38%, 50%)
HSVhsv(234, 55%, 69%)
CMYKcmyk(55.4%, 49.7%, 0%, 31.4%)
CIE-LABlab(40.72, 21.84, -47.84)
CIE-LCHlch(40.72, 52.59, 294.54°)
OKLaboklab(49.74% 0.0127 -0.1365)
OKLCHoklch(49.74% 0.137 275.3)
XYZxyz(14.3670, 11.6933, 42.0491)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58AF #AFA54E
analogous
#4E89AF #4E58AF #744EAF
triadic
#4E58AF #AF4E58 #58AF4E
tetradic
#4E58AF #AF4E89 #AFA54E #4EAF74
square
#4E58AF #AF4E89 #AFA54E #4EAF74
split-complementary
#4E58AF #AF744E #89AF4E
monochromatic
#282D5A #3B4385 #4E58AF #787FC3 #A2A7D6

Accessibility & contrast

On white

6.29
#4E58AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4E58AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58AF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58AF#FFFFFF#000000##FFFFFF
##4E58AF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#205CAD
Tritanopia (blue-blind)
#1C6B7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e58af;
/* rgb */ color: rgb(78, 88, 175);
/* oklch */ color: oklch(49.7% 0.137 275.3);
Tailwind
colors: {
  custom: {
    50: '#8787c7',
    500: '#4e58af',
    950: '#000000',
  },
}
SCSS
$custom: #4e58af;
$custom-light: #8787c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58af",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 233.814,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49739,
    "c": 0.13714,
    "h": 275.3
  },
  "luminance": 0.11694
}

Semantic roles & 50–950 ramp

primary
#4E58AF
secondary
#C3BE96
accent
#C25ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E58AF

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

Preview Lab → · Contrast checker → · Palette generator →

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