#4E5F91#4E5F91

#4E5F91 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.4% C 0.083 H 268.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4E5F91
RGBrgb(78, 95, 145)
HSLhsl(225, 30%, 44%)
HSVhsv(225, 46%, 57%)
CMYKcmyk(46.2%, 34.5%, 0%, 43.1%)
CIE-LABlab(40.97, 7.63, -29.58)
CIE-LCHlch(40.97, 30.55, 284.46°)
OKLaboklab(49.38% -0.0015 -0.0831)
OKLCHoklch(49.38% 0.083 268.9)
XYZxyz(12.3433, 11.8478, 28.4190)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F91 #91804E
analogous
#4E8091 #4E5F91 #5E4E91
triadic
#4E5F91 #914E5F #5F914E
tetradic
#4E5F91 #914E80 #91804E #4E915E
square
#4E5F91 #914E80 #91804E #4E915E
split-complementary
#4E5F91 #915E4E #80914E
monochromatic
#232B41 #394569 #4E5F91 #6C7DB0 #94A1C5

Accessibility & contrast

On white

6.23
#4E5F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4E5F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5F91
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F91#FFFFFF#000000##FFFFFF
##4E5F911.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6493
Deuteranopia (green-blind)
#465E90
Tritanopia (blue-blind)
#366971
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5f91;
/* rgb */ color: rgb(78, 95, 145);
/* oklch */ color: oklch(49.4% 0.083 268.9);
Tailwind
colors: {
  custom: {
    50: '#838cb1',
    500: '#4e5f91',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f91;
$custom-light: #838cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f91",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 145
  },
  "hsl": {
    "h": 224.776,
    "s": 30.045,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.0831,
    "h": 268.9
  },
  "luminance": 0.11848
}

Semantic roles & 50–950 ramp

primary
#4E5F91
secondary
#B2A889
accent
#AD62C6
background
#F8F8FA
surface
#EFF0F5
border
#CACBCF
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #4E5F91

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

Preview Lab → · Contrast checker → · Palette generator →

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