#4E6AB2#4E6AB2

#4E6AB2 is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.7% C 0.118 H 266.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E6AB2
RGBrgb(78, 106, 178)
HSLhsl(223, 39%, 50%)
HSVhsv(223, 56%, 70%)
CMYKcmyk(56.2%, 40.4%, 0%, 30.2%)
CIE-LABlab(45.83, 11.46, -41.46)
CIE-LCHlch(45.83, 43.01, 285.46°)
OKLaboklab(53.69% -0.0073 -0.1176)
OKLCHoklch(53.69% 0.118 266.5)
XYZxyz(16.3291, 15.1409, 44.1728)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6AB2 #B2964E
analogous
#4E9CB2 #4E6AB2 #644EB2
triadic
#4E6AB2 #B24E6A #6AB24E
tetradic
#4E6AB2 #B24E9C #B2964E #4EB264
square
#4E6AB2 #B24E9C #B2964E #4EB264
split-complementary
#4E6AB2 #B2644E #9CB24E
monochromatic
#29375D #3B5188 #4E6AB2 #798EC5 #A3B2D7

Accessibility & contrast

On white

5.21
#4E6AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4E6AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6AB2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6AB2#FFFFFF#000000##FFFFFF
##4E6AB21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B5
Deuteranopia (green-blind)
#4068B0
Tritanopia (blue-blind)
#107A85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e6ab2;
/* rgb */ color: rgb(78, 106, 178);
/* oklch */ color: oklch(53.7% 0.118 266.5);
Tailwind
colors: {
  custom: {
    50: '#8794c9',
    500: '#4e6ab2',
    950: '#000000',
  },
}
SCSS
$custom: #4e6ab2;
$custom-light: #8794c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6ab2",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 178
  },
  "hsl": {
    "h": 223.2,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53693,
    "c": 0.11785,
    "h": 266.5
  },
  "luminance": 0.15142
}

Semantic roles & 50–950 ramp

primary
#4E6AB2
secondary
#C4B898
accent
#AE59CF
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E6AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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