#4E5EAC#4E5EAC

#4E5EAC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.125 H 272.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4E5EAC
RGBrgb(78, 94, 172)
HSLhsl(230, 38%, 49%)
HSVhsv(230, 55%, 67%)
CMYKcmyk(54.7%, 45.3%, 0%, 32.5%)
CIE-LABlab(42.16, 17.03, -43.78)
CIE-LCHlch(42.16, 46.97, 291.25°)
OKLaboklab(50.77% 0.0055 -0.1245)
OKLCHoklch(50.77% 0.125 272.5)
XYZxyz(14.5886, 12.6027, 40.6855)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EAC #AC9C4E
analogous
#4E8DAC #4E5EAC #6D4EAC
triadic
#4E5EAC #AC4E5E #5EAC4E
tetradic
#4E5EAC #AC4E8D #AC9C4E #4EAC6D
square
#4E5EAC #AC4E8D #AC9C4E #4EAC6D
split-complementary
#4E5EAC #AC6D4E #8DAC4E
monochromatic
#283058 #3B4782 #4E5EAC #7683C1 #A0A9D4

Accessibility & contrast

On white

5.96
#4E5EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4E5EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EAC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EAC#FFFFFF#000000##FFFFFF
##4E5EAC1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C68AF
Deuteranopia (green-blind)
#3160AA
Tritanopia (blue-blind)
#1E6F7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5eac;
/* rgb */ color: rgb(78, 94, 172);
/* oklch */ color: oklch(50.8% 0.125 272.5);
Tailwind
colors: {
  custom: {
    50: '#868bc5',
    500: '#4e5eac',
    950: '#000000',
  },
}
SCSS
$custom: #4e5eac;
$custom-light: #868bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5eac",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 172
  },
  "hsl": {
    "h": 229.787,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50769,
    "c": 0.12467,
    "h": 272.5
  },
  "luminance": 0.12604
}

Semantic roles & 50–950 ramp

primary
#4E5EAC
secondary
#C1BA95
accent
#BA5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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