#4E5F95#4E5F95

#4E5F95 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.6% C 0.089 H 269.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4E5F95
RGBrgb(78, 95, 149)
HSLhsl(226, 31%, 45%)
HSVhsv(226, 48%, 58%)
CMYKcmyk(47.7%, 36.2%, 0%, 41.6%)
CIE-LABlab(41.17, 8.89, -31.67)
CIE-LCHlch(41.17, 32.90, 285.68°)
OKLaboklab(49.6% -0.0005 -0.0891)
OKLCHoklch(49.6% 0.089 269.7)
XYZxyz(12.6572, 11.9733, 30.0721)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F95 #95844E
analogous
#4E8395 #4E5F95 #614E95
triadic
#4E5F95 #954E5F #5F954E
tetradic
#4E5F95 #954E83 #95844E #4E9561
square
#4E5F95 #954E83 #95844E #4E9561
split-complementary
#4E5F95 #95614E #83954E
monochromatic
#242C45 #39456D #4E5F95 #6D7EB3 #96A2C8

Accessibility & contrast

On white

6.19
#4E5F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4E5F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5F95
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F95#FFFFFF#000000##FFFFFF
##4E5F951.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6497
Deuteranopia (green-blind)
#445E94
Tritanopia (blue-blind)
#336A73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5f95;
/* rgb */ color: rgb(78, 95, 149);
/* oklch */ color: oklch(49.6% 0.089 269.7);
Tailwind
colors: {
  custom: {
    50: '#838cb4',
    500: '#4e5f95',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f95;
$custom-light: #838cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f95",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 149
  },
  "hsl": {
    "h": 225.634,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.08915,
    "h": 269.7
  },
  "luminance": 0.11974
}

Semantic roles & 50–950 ramp

primary
#4E5F95
secondary
#B4AA8A
accent
#AF60C7
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4E5F95

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

Preview Lab → · Contrast checker → · Palette generator →

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