#4E5F8F#4E5F8F

#4E5F8F is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.3% C 0.080 H 268.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4E5F8F
RGBrgb(78, 95, 143)
HSLhsl(224, 29%, 43%)
HSVhsv(224, 45%, 56%)
CMYKcmyk(45.5%, 33.6%, 0%, 43.9%)
CIE-LABlab(40.87, 7.00, -28.54)
CIE-LCHlch(40.87, 29.38, 283.79°)
OKLaboklab(49.27% -0.0021 -0.08)
OKLCHoklch(49.27% 0.08 268.5)
XYZxyz(12.1905, 11.7866, 27.6140)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F8F #8F7E4E
analogous
#4E7F8F #4E5F8F #5D4E8F
triadic
#4E5F8F #8F4E5F #5F8F4E
tetradic
#4E5F8F #8F4E7F #8F7E4E #4E8F5D
square
#4E5F8F #8F4E7F #8F7E4E #4E8F5D
split-complementary
#4E5F8F #8F5D4E #7F8F4E
monochromatic
#232A40 #384567 #4E5F8F #6C7DAF #93A0C4

Accessibility & contrast

On white

6.25
#4E5F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4E5F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5F8F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F8F#FFFFFF#000000##FFFFFF
##4E5F8F1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6391
Deuteranopia (green-blind)
#475E8E
Tritanopia (blue-blind)
#376970
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5f8f;
/* rgb */ color: rgb(78, 95, 143);
/* oklch */ color: oklch(49.3% 0.080 268.5);
Tailwind
colors: {
  custom: {
    50: '#838cb0',
    500: '#4e5f8f',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f8f;
$custom-light: #838cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f8f",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 143
  },
  "hsl": {
    "h": 224.308,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49271,
    "c": 0.08008,
    "h": 268.5
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#4E5F8F
secondary
#B1A688
accent
#AC62C6
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #4E5F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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