#4E6498#4E6498

#4E6498 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 50.9% C 0.087 H 265.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4E6498
RGBrgb(78, 100, 152)
HSLhsl(222, 32%, 45%)
HSVhsv(222, 49%, 60%)
CMYKcmyk(48.7%, 34.2%, 0%, 40.4%)
CIE-LABlab(42.76, 6.71, -30.97)
CIE-LCHlch(42.76, 31.68, 282.23°)
OKLaboklab(50.88% -0.0062 -0.0871)
OKLCHoklch(50.88% 0.087 265.9)
XYZxyz(13.3647, 13.0002, 31.5047)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6498 #98824E
analogous
#4E8998 #4E6498 #5D4E98
triadic
#4E6498 #984E64 #64984E
tetradic
#4E6498 #984E89 #98824E #4E985D
square
#4E6498 #984E89 #98824E #4E985D
split-complementary
#4E6498 #985D4E #89984E
monochromatic
#242F47 #394970 #4E6498 #6E83B5 #97A6CA

Accessibility & contrast

On white

5.83
#4E6498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4E6498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6498
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6498#FFFFFF#000000##FFFFFF
##4E64981.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51699A
Deuteranopia (green-blind)
#496297
Tritanopia (blue-blind)
#306F77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e6498;
/* rgb */ color: rgb(78, 100, 152);
/* oklch */ color: oklch(50.9% 0.087 265.9);
Tailwind
colors: {
  custom: {
    50: '#848fb6',
    500: '#4e6498',
    950: '#000000',
  },
}
SCSS
$custom: #4e6498;
$custom-light: #848fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6498",
  "rgb": {
    "r": 78,
    "g": 100,
    "b": 152
  },
  "hsl": {
    "h": 222.162,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.08729,
    "h": 265.9
  },
  "luminance": 0.13001
}

Semantic roles & 50–950 ramp

primary
#4E6498
secondary
#B6A98C
accent
#A95FC8
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4E6498

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

Preview Lab → · Contrast checker → · Palette generator →

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