#4E5098#4E5098

#4E5098 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.6% C 0.115 H 279.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4E5098
RGBrgb(78, 80, 152)
HSLhsl(238, 32%, 45%)
HSVhsv(238, 49%, 60%)
CMYKcmyk(48.7%, 47.4%, 0%, 40.4%)
CIE-LABlab(37.16, 19.43, -39.84)
CIE-LCHlch(37.16, 44.32, 296.00°)
OKLaboklab(46.58% 0.0194 -0.1131)
OKLCHoklch(46.58% 0.115 279.8)
XYZxyz(11.6763, 9.6234, 30.9419)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5098 #98964E
analogous
#4E7598 #4E5098 #714E98
triadic
#4E5098 #984E50 #50984E
tetradic
#4E5098 #984E75 #98964E #4E9871
square
#4E5098 #984E75 #98964E #4E9871
split-complementary
#4E5098 #98714E #75984E
monochromatic
#242547 #393B70 #4E5098 #6E70B5 #9798CA

Accessibility & contrast

On white

7.18
#4E5098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4E5098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5098
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5098#FFFFFF#000000##FFFFFF
##4E50981.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9B
Deuteranopia (green-blind)
#2C5596
Tritanopia (blue-blind)
#335F6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e5098;
/* rgb */ color: rgb(78, 80, 152);
/* oklch */ color: oklch(46.6% 0.115 279.8);
Tailwind
colors: {
  custom: {
    50: '#8481b7',
    500: '#4e5098',
    950: '#000000',
  },
}
SCSS
$custom: #4e5098;
$custom-light: #8481b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5098",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 238.378,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46581,
    "c": 0.11476,
    "h": 279.8
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#4E5098
secondary
#B6B58C
accent
#C55FC8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E5098

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

Preview Lab → · Contrast checker → · Palette generator →

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