#4E5F97#4E5F97

#4E5F97 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.7% C 0.092 H 270.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4E5F97
RGBrgb(78, 95, 151)
HSLhsl(226, 32%, 45%)
HSVhsv(226, 48%, 59%)
CMYKcmyk(48.3%, 37.1%, 0%, 40.8%)
CIE-LABlab(41.28, 9.53, -32.71)
CIE-LCHlch(41.28, 34.07, 286.24°)
OKLaboklab(49.71% 0 -0.0922)
OKLCHoklch(49.71% 0.092 270)
XYZxyz(12.8182, 12.0377, 30.9202)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F97 #97864E
analogous
#4E8497 #4E5F97 #614E97
triadic
#4E5F97 #974E5F #5F974E
tetradic
#4E5F97 #974E84 #97864E #4E9761
square
#4E5F97 #974E84 #97864E #4E9761
split-complementary
#4E5F97 #97614E #84974E
monochromatic
#242C46 #39466F #4E5F97 #6E7EB4 #96A2C9

Accessibility & contrast

On white

6.16
#4E5F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4E5F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5F97
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F97#FFFFFF#000000##FFFFFF
##4E5F971.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6599
Deuteranopia (green-blind)
#435E96
Tritanopia (blue-blind)
#326B74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5f97;
/* rgb */ color: rgb(78, 95, 151);
/* oklch */ color: oklch(49.7% 0.092 270.0);
Tailwind
colors: {
  custom: {
    50: '#848cb6',
    500: '#4e5f97',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f97;
$custom-light: #848cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f97",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 226.027,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49713,
    "c": 0.09216,
    "h": 270
  },
  "luminance": 0.12038
}

Semantic roles & 50–950 ramp

primary
#4E5F97
secondary
#B6AC8B
accent
#B060C8
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4E5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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