#4E6397#4E6397

#4E6397 is a mid, moderate blue. Relative luminance 0.128; OKLCH L 50.6% C 0.087 H 266.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4E6397
RGBrgb(78, 99, 151)
HSLhsl(223, 32%, 45%)
HSVhsv(223, 48%, 59%)
CMYKcmyk(48.3%, 34.4%, 0%, 40.8%)
CIE-LABlab(42.43, 7.02, -30.90)
CIE-LCHlch(42.43, 31.69, 282.79°)
OKLaboklab(50.6% -0.0052 -0.0869)
OKLCHoklch(50.6% 0.087 266.6)
XYZxyz(13.1878, 12.7769, 31.0434)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6397 #97824E
analogous
#4E8797 #4E6397 #5E4E97
triadic
#4E6397 #974E63 #63974E
tetradic
#4E6397 #974E87 #97824E #4E975E
square
#4E6397 #974E87 #97824E #4E975E
split-complementary
#4E6397 #975E4E #87974E
monochromatic
#242E46 #39496F #4E6397 #6E82B4 #96A5C9

Accessibility & contrast

On white

5.91
#4E6397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E6397
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6397#FFFFFF#000000##FFFFFF
##4E63971.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506899
Deuteranopia (green-blind)
#486196
Tritanopia (blue-blind)
#316E76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e6397;
/* rgb */ color: rgb(78, 99, 151);
/* oklch */ color: oklch(50.6% 0.087 266.6);
Tailwind
colors: {
  custom: {
    50: '#848fb6',
    500: '#4e6397',
    950: '#000000',
  },
}
SCSS
$custom: #4e6397;
$custom-light: #848fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6397",
  "rgb": {
    "r": 78,
    "g": 99,
    "b": 151
  },
  "hsl": {
    "h": 222.74,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.08704,
    "h": 266.6
  },
  "luminance": 0.12778
}

Semantic roles & 50–950 ramp

primary
#4E6397
secondary
#B6A98B
accent
#AA60C8
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4E6397

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

Preview Lab → · Contrast checker → · Palette generator →

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