#4E5AAF#4E5AAF

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

Color values

HEX#4E5AAF
RGBrgb(78, 90, 175)
HSLhsl(233, 38%, 50%)
HSVhsv(233, 55%, 69%)
CMYKcmyk(55.4%, 48.6%, 0%, 31.4%)
CIE-LABlab(41.26, 20.57, -46.99)
CIE-LCHlch(41.26, 51.29, 293.64°)
OKLaboklab(50.14% 0.0105 -0.134)
OKLCHoklch(50.14% 0.134 274.5)
XYZxyz(14.5334, 12.0262, 42.1046)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AAF #AFA34E
analogous
#4E8BAF #4E5AAF #724EAF
triadic
#4E5AAF #AF4E5A #5AAF4E
tetradic
#4E5AAF #AF4E8B #AFA34E #4EAF72
square
#4E5AAF #AF4E8B #AFA34E #4EAF72
split-complementary
#4E5AAF #AF724E #8BAF4E
monochromatic
#282E5A #3B4485 #4E5AAF #7881C3 #A2A8D6

Accessibility & contrast

On white

6.17
#4E5AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4E5AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AAF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AAF#FFFFFF#000000##FFFFFF
##4E5AAF1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#255DAD
Tritanopia (blue-blind)
#1B6D7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5aaf;
/* rgb */ color: rgb(78, 90, 175);
/* oklch */ color: oklch(50.1% 0.134 274.5);
Tailwind
colors: {
  custom: {
    50: '#8788c7',
    500: '#4e5aaf',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aaf;
$custom-light: #8788c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aaf",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 232.577,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.13442,
    "h": 274.5
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#4E5AAF
secondary
#C3BD96
accent
#C05ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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