#4E6398#4E6398

#4E6398 is a mid, moderate blue. Relative luminance 0.128; OKLCH L 50.7% C 0.089 H 266.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4E6398
RGBrgb(78, 99, 152)
HSLhsl(223, 32%, 45%)
HSVhsv(223, 49%, 60%)
CMYKcmyk(48.7%, 34.9%, 0%, 40.4%)
CIE-LABlab(42.47, 7.34, -31.42)
CIE-LCHlch(42.47, 32.26, 283.14°)
OKLaboklab(50.66% -0.0049 -0.0884)
OKLCHoklch(50.66% 0.089 266.8)
XYZxyz(13.2694, 12.8096, 31.4730)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6398 #98834E
analogous
#4E8898 #4E6398 #5E4E98
triadic
#4E6398 #984E63 #63984E
tetradic
#4E6398 #984E88 #98834E #4E985E
square
#4E6398 #984E88 #98834E #4E985E
split-complementary
#4E6398 #985E4E #88984E
monochromatic
#242E47 #394970 #4E6398 #6E82B5 #97A5CA

Accessibility & contrast

On white

5.90
#4E6398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4E6398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6398
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6398#FFFFFF#000000##FFFFFF
##4E63981.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F689A
Deuteranopia (green-blind)
#476197
Tritanopia (blue-blind)
#306E76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e6398;
/* rgb */ color: rgb(78, 99, 152);
/* oklch */ color: oklch(50.7% 0.089 266.8);
Tailwind
colors: {
  custom: {
    50: '#848fb6',
    500: '#4e6398',
    950: '#000000',
  },
}
SCSS
$custom: #4e6398;
$custom-light: #848fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6398",
  "rgb": {
    "r": 78,
    "g": 99,
    "b": 152
  },
  "hsl": {
    "h": 222.973,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50657,
    "c": 0.08853,
    "h": 266.8
  },
  "luminance": 0.1281
}

Semantic roles & 50–950 ramp

primary
#4E6398
secondary
#B6AA8C
accent
#AB5FC8
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4E6398

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

Preview Lab → · Contrast checker → · Palette generator →

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