#4E5A7E#4E5A7E

#4E5A7E is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.3% C 0.060 H 269.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4E5A7E
RGBrgb(78, 90, 126)
HSLhsl(225, 24%, 40%)
HSVhsv(225, 38%, 49%)
CMYKcmyk(38.1%, 28.6%, 0%, 50.6%)
CIE-LABlab(38.62, 4.97, -21.74)
CIE-LCHlch(38.62, 22.30, 282.88°)
OKLaboklab(47.26% -0.0002 -0.0605)
OKLCHoklch(47.26% 0.06 269.8)
XYZxyz(10.5628, 10.4379, 21.1928)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A7E #7E724E
analogous
#4E727E #4E5A7E #5A4E7E
triadic
#4E5A7E #7E4E5A #5A7E4E
tetradic
#4E5A7E #7E4E72 #7E724E #4E7E5A
square
#4E5A7E #7E4E72 #7E724E #4E7E5A
split-complementary
#4E5A7E #7E5A4E #727E4E
monochromatic
#1F2432 #373F58 #4E5A7E #6876A1 #8E98B9

Accessibility & contrast

On white

6.80
#4E5A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4E5A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5A7E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A7E#FFFFFF#000000##FFFFFF
##4E5A7E1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D80
Deuteranopia (green-blind)
#4A597D
Tritanopia (blue-blind)
#406167
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e5a7e;
/* rgb */ color: rgb(78, 90, 126);
/* oklch */ color: oklch(47.3% 0.060 269.8);
Tailwind
colors: {
  custom: {
    50: '#8188a3',
    500: '#4e5a7e',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a7e;
$custom-light: #8188a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a7e",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 126
  },
  "hsl": {
    "h": 225,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.47255,
    "c": 0.06046,
    "h": 269.8
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#4E5A7E
secondary
#A69D82
accent
#AA68C0
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E5A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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