#4E6FA1#4E6FA1

#4E6FA1 is a mid, moderate blue. Relative luminance 0.156; OKLCH L 53.8% C 0.088 H 258.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4E6FA1
RGBrgb(78, 111, 161)
HSLhsl(216, 35%, 47%)
HSVhsv(216, 52%, 63%)
CMYKcmyk(51.6%, 31.1%, 0%, 36.9%)
CIE-LABlab(46.39, 2.80, -30.61)
CIE-LCHlch(46.39, 30.74, 275.23°)
OKLaboklab(53.85% -0.0175 -0.086)
OKLCHoklch(53.85% 0.088 258.5)
XYZxyz(15.2572, 15.5607, 35.9108)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6FA1 #A1804E
analogous
#4E99A1 #4E6FA1 #574EA1
triadic
#4E6FA1 #A14E6F #6FA14E
tetradic
#4E6FA1 #A14E99 #A1804E #4EA157
square
#4E6FA1 #A14E99 #A1804E #4EA157
split-complementary
#4E6FA1 #A1574E #99A14E
monochromatic
#26364F #3A5378 #4E6FA1 #728FBB #9BAFCF

Accessibility & contrast

On white

5.11
#4E6FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4E6FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6FA1
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6FA1#FFFFFF#000000##FFFFFF
##4E6FA11.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C72A3
Deuteranopia (green-blind)
#526AA0
Tritanopia (blue-blind)
#267A81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e6fa1;
/* rgb */ color: rgb(78, 111, 161);
/* oklch */ color: oklch(53.8% 0.088 258.5);
Tailwind
colors: {
  custom: {
    50: '#8598bd',
    500: '#4e6fa1',
    950: '#000000',
  },
}
SCSS
$custom: #4e6fa1;
$custom-light: #8598bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6fa1",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 161
  },
  "hsl": {
    "h": 216.145,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53849,
    "c": 0.08775,
    "h": 258.5
  },
  "luminance": 0.15562
}

Semantic roles & 50–950 ramp

primary
#4E6FA1
secondary
#BBAA90
accent
#9F5DCB
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4E6FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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