#4E5698#4E5698

#4E5698 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.8% C 0.106 H 276.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#4E5698
RGBrgb(78, 86, 152)
HSLhsl(234, 32%, 45%)
HSVhsv(234, 49%, 60%)
CMYKcmyk(48.7%, 43.4%, 0%, 40.4%)
CIE-LABlab(38.80, 15.58, -37.23)
CIE-LCHlch(38.80, 40.36, 292.71°)
OKLaboklab(47.83% 0.0118 -0.1054)
OKLCHoklch(47.83% 0.106 276.4)
XYZxyz(12.1354, 10.5416, 31.0950)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5698 #98904E
analogous
#4E7B98 #4E5698 #6B4E98
triadic
#4E5698 #984E56 #56984E
tetradic
#4E5698 #984E7B #98904E #4E986B
square
#4E5698 #984E7B #98904E #4E986B
split-complementary
#4E5698 #986B4E #7B984E
monochromatic
#242847 #393F70 #4E5698 #6E76B5 #979CCA

Accessibility & contrast

On white

6.76
#4E5698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4E5698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5698
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5698#FFFFFF#000000##FFFFFF
##4E56981.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E9B
Deuteranopia (green-blind)
#365997
Tritanopia (blue-blind)
#32646F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e5698;
/* rgb */ color: rgb(78, 86, 152);
/* oklch */ color: oklch(47.8% 0.106 276.4);
Tailwind
colors: {
  custom: {
    50: '#8485b7',
    500: '#4e5698',
    950: '#000000',
  },
}
SCSS
$custom: #4e5698;
$custom-light: #8485b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5698",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 152
  },
  "hsl": {
    "h": 233.514,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47828,
    "c": 0.10607,
    "h": 276.4
  },
  "luminance": 0.10542
}

Semantic roles & 50–950 ramp

primary
#4E5698
secondary
#B6B28C
accent
#BD5FC8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5698

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

Preview Lab → · Contrast checker → · Palette generator →

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