#4E5F8D#4E5F8D

#4E5F8D is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.2% C 0.077 H 268.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4E5F8D
RGBrgb(78, 95, 141)
HSLhsl(224, 29%, 43%)
HSVhsv(224, 45%, 55%)
CMYKcmyk(44.7%, 32.6%, 0%, 44.7%)
CIE-LABlab(40.78, 6.38, -27.48)
CIE-LCHlch(40.78, 28.21, 283.07°)
OKLaboklab(49.17% -0.0026 -0.077)
OKLCHoklch(49.17% 0.077 268)
XYZxyz(12.0403, 11.7265, 26.8232)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F8D #8D7C4E
analogous
#4E7E8D #4E5F8D #5D4E8D
triadic
#4E5F8D #8D4E5F #5F8D4E
tetradic
#4E5F8D #8D4E7E #8D7C4E #4E8D5D
square
#4E5F8D #8D4E7E #8D7C4E #4E8D5D
split-complementary
#4E5F8D #8D5D4E #7E8D4E
monochromatic
#222A3E #384466 #4E5F8D #6B7DAD #92A0C3

Accessibility & contrast

On white

6.28
#4E5F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5F8D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F8D#FFFFFF#000000##FFFFFF
##4E5F8D1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F638F
Deuteranopia (green-blind)
#495E8C
Tritanopia (blue-blind)
#38696F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5f8d;
/* rgb */ color: rgb(78, 95, 141);
/* oklch */ color: oklch(49.2% 0.077 268.0);
Tailwind
colors: {
  custom: {
    50: '#828cae',
    500: '#4e5f8d',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f8d;
$custom-light: #828cae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f8d",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 223.81,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49165,
    "c": 0.07705,
    "h": 268
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#4E5F8D
secondary
#AFA587
accent
#AB63C5
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #4E5F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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