#4E6795#4E6795

#4E6795 is a mid, moderate blue. Relative luminance 0.135; OKLCH L 51.4% C 0.079 H 262.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4E6795
RGBrgb(78, 103, 149)
HSLhsl(219, 31%, 45%)
HSVhsv(219, 48%, 58%)
CMYKcmyk(47.7%, 30.9%, 0%, 41.6%)
CIE-LABlab(43.49, 3.90, -28.04)
CIE-LCHlch(43.49, 28.31, 277.92°)
OKLaboklab(51.4% -0.0109 -0.0786)
OKLCHoklch(51.4% 0.079 262.1)
XYZxyz(13.4152, 13.4893, 30.3247)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6795 #957C4E
analogous
#4E8B95 #4E6795 #584E95
triadic
#4E6795 #954E67 #67954E
tetradic
#4E6795 #954E8B #957C4E #4E9558
square
#4E6795 #954E8B #957C4E #4E9558
split-complementary
#4E6795 #95584E #8B954E
monochromatic
#242F45 #394B6D #4E6795 #6D86B3 #96A7C8

Accessibility & contrast

On white

5.68
#4E6795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4E6795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6795
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6795#FFFFFF#000000##FFFFFF
##4E67951.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566A97
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#327177
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e6795;
/* rgb */ color: rgb(78, 103, 149);
/* oklch */ color: oklch(51.4% 0.079 262.1);
Tailwind
colors: {
  custom: {
    50: '#8392b4',
    500: '#4e6795',
    950: '#000000',
  },
}
SCSS
$custom: #4e6795;
$custom-light: #8392b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6795",
  "rgb": {
    "r": 78,
    "g": 103,
    "b": 149
  },
  "hsl": {
    "h": 218.873,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.514,
    "c": 0.07934,
    "h": 262.1
  },
  "luminance": 0.1349
}

Semantic roles & 50–950 ramp

primary
#4E6795
secondary
#B4A68A
accent
#A360C7
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4E6795

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

Preview Lab → · Contrast checker → · Palette generator →

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