#4E5F8E#4E5F8E

#4E5F8E is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.2% C 0.079 H 268.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4E5F8E
RGBrgb(78, 95, 142)
HSLhsl(224, 29%, 43%)
HSVhsv(224, 45%, 56%)
CMYKcmyk(45.1%, 33.1%, 0%, 44.3%)
CIE-LABlab(40.83, 6.69, -28.01)
CIE-LCHlch(40.83, 28.80, 283.43°)
OKLaboklab(49.22% -0.0024 -0.0785)
OKLCHoklch(49.22% 0.079 268.3)
XYZxyz(12.1150, 11.7564, 27.2168)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F8E #8E7D4E
analogous
#4E7F8E #4E5F8E #5D4E8E
triadic
#4E5F8E #8E4E5F #5F8E4E
tetradic
#4E5F8E #8E4E7F #8E7D4E #4E8E5D
square
#4E5F8E #8E4E7F #8E7D4E #4E8E5D
split-complementary
#4E5F8E #8E5D4E #7F8E4E
monochromatic
#232A3F #384566 #4E5F8E #6B7DAE #93A0C4

Accessibility & contrast

On white

6.27
#4E5F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4E5F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5F8E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F8E#FFFFFF#000000##FFFFFF
##4E5F8E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6390
Deuteranopia (green-blind)
#485E8D
Tritanopia (blue-blind)
#376970
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5f8e;
/* rgb */ color: rgb(78, 95, 142);
/* oklch */ color: oklch(49.2% 0.079 268.3);
Tailwind
colors: {
  custom: {
    50: '#838caf',
    500: '#4e5f8e',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f8e;
$custom-light: #838caf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f8e",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 142
  },
  "hsl": {
    "h": 224.063,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49218,
    "c": 0.07856,
    "h": 268.3
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

primary
#4E5F8E
secondary
#B0A588
accent
#AB62C5
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #4E5F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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