#4E6C97#4E6C97

#4E6C97 is a mid, moderate blue. Relative luminance 0.146; OKLCH L 52.6% C 0.077 H 257.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4E6C97
RGBrgb(78, 108, 151)
HSLhsl(215, 32%, 45%)
HSVhsv(215, 48%, 59%)
CMYKcmyk(48.3%, 28.5%, 0%, 40.8%)
CIE-LABlab(45.05, 1.46, -26.80)
CIE-LCHlch(45.05, 26.84, 273.12°)
OKLaboklab(52.65% -0.0168 -0.075)
OKLCHoklch(52.65% 0.077 257.4)
XYZxyz(14.0885, 14.5783, 31.3437)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6C97 #97794E
analogous
#4E9197 #4E6C97 #544E97
triadic
#4E6C97 #974E6C #6C974E
tetradic
#4E6C97 #974E91 #97794E #4E9754
square
#4E6C97 #974E91 #97794E #4E9754
split-complementary
#4E6C97 #97544E #91974E
monochromatic
#243246 #394F6F #4E6C97 #6E8BB4 #96ABC9

Accessibility & contrast

On white

5.36
#4E6C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4E6C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6C97
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6C97#FFFFFF#000000##FFFFFF
##4E6C971.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6E99
Deuteranopia (green-blind)
#536796
Tritanopia (blue-blind)
#2F757B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e6c97;
/* rgb */ color: rgb(78, 108, 151);
/* oklch */ color: oklch(52.6% 0.077 257.4);
Tailwind
colors: {
  custom: {
    50: '#8495b5',
    500: '#4e6c97',
    950: '#000000',
  },
}
SCSS
$custom: #4e6c97;
$custom-light: #8495b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6c97",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 151
  },
  "hsl": {
    "h": 215.342,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52648,
    "c": 0.07684,
    "h": 257.4
  },
  "luminance": 0.14579
}

Semantic roles & 50–950 ramp

primary
#4E6C97
secondary
#B6A48B
accent
#9D60C8
background
#F8F9FB
surface
#EFF1F6
border
#CACBD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #4E6C97

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

Preview Lab → · Contrast checker → · Palette generator →

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