#4E5EAF#4E5EAF

#4E5EAF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.129 H 272.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4E5EAF
RGBrgb(78, 94, 175)
HSLhsl(230, 38%, 50%)
HSVhsv(230, 55%, 69%)
CMYKcmyk(55.4%, 46.3%, 0%, 31.4%)
CIE-LABlab(42.34, 18.03, -45.26)
CIE-LCHlch(42.34, 48.72, 291.72°)
OKLaboklab(50.96% 0.0059 -0.1289)
OKLCHoklch(50.96% 0.129 272.6)
XYZxyz(14.8799, 12.7192, 42.2201)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EAF #AF9F4E
analogous
#4E8FAF #4E5EAF #6F4EAF
triadic
#4E5EAF #AF4E5E #5EAF4E
tetradic
#4E5EAF #AF4E8F #AF9F4E #4EAF6F
square
#4E5EAF #AF4E8F #AF9F4E #4EAF6F
split-complementary
#4E5EAF #AF6F4E #8FAF4E
monochromatic
#28315A #3B4785 #4E5EAF #7884C3 #A2AAD6

Accessibility & contrast

On white

5.93
#4E5EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4E5EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EAF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EAF#FFFFFF#000000##FFFFFF
##4E5EAF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3968B2
Deuteranopia (green-blind)
#2D60AD
Tritanopia (blue-blind)
#1A707E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5eaf;
/* rgb */ color: rgb(78, 94, 175);
/* oklch */ color: oklch(51.0% 0.129 272.6);
Tailwind
colors: {
  custom: {
    50: '#878bc7',
    500: '#4e5eaf',
    950: '#000000',
  },
}
SCSS
$custom: #4e5eaf;
$custom-light: #878bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5eaf",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 230.103,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50963,
    "c": 0.12904,
    "h": 272.6
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#4E5EAF
secondary
#C3BB96
accent
#BB5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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