#4E6AB1#4E6AB1

#4E6AB1 is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.6% C 0.116 H 266.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E6AB1
RGBrgb(78, 106, 177)
HSLhsl(223, 39%, 50%)
HSVhsv(223, 56%, 69%)
CMYKcmyk(55.9%, 40.1%, 0%, 30.6%)
CIE-LABlab(45.77, 11.13, -40.96)
CIE-LCHlch(45.77, 42.45, 285.20°)
OKLaboklab(53.63% -0.0075 -0.1162)
OKLCHoklch(53.63% 0.116 266.3)
XYZxyz(16.2291, 15.1009, 43.6460)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6AB1 #B1954E
analogous
#4E9CB1 #4E6AB1 #634EB1
triadic
#4E6AB1 #B14E6A #6AB14E
tetradic
#4E6AB1 #B14E9C #B1954E #4EB163
square
#4E6AB1 #B14E9C #B1954E #4EB163
split-complementary
#4E6AB1 #B1634E #9CB14E
monochromatic
#29375C #3B5187 #4E6AB1 #788EC4 #A3B2D6

Accessibility & contrast

On white

5.22
#4E6AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4E6AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6AB1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6AB1#FFFFFF#000000##FFFFFF
##4E6AB11.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B4
Deuteranopia (green-blind)
#4068AF
Tritanopia (blue-blind)
#127A85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e6ab1;
/* rgb */ color: rgb(78, 106, 177);
/* oklch */ color: oklch(53.6% 0.116 266.3);
Tailwind
colors: {
  custom: {
    50: '#8794c9',
    500: '#4e6ab1',
    950: '#000000',
  },
}
SCSS
$custom: #4e6ab1;
$custom-light: #8794c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6ab1",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 177
  },
  "hsl": {
    "h": 223.03,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.53633,
    "c": 0.11642,
    "h": 266.3
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#4E6AB1
secondary
#C4B797
accent
#AD59CF
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E6AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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