#4E6DB1#4E6DB1

#4E6DB1 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.3% C 0.113 H 264.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4E6DB1
RGBrgb(78, 109, 177)
HSLhsl(221, 39%, 50%)
HSVhsv(221, 56%, 69%)
CMYKcmyk(55.9%, 38.4%, 0%, 30.6%)
CIE-LABlab(46.62, 9.26, -39.62)
CIE-LCHlch(46.62, 40.69, 283.16°)
OKLaboklab(54.29% -0.0109 -0.1122)
OKLCHoklch(54.29% 0.113 264.4)
XYZxyz(16.5437, 15.7300, 43.7509)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6DB1 #B1924E
analogous
#4E9FB1 #4E6DB1 #604EB1
triadic
#4E6DB1 #B14E6D #6DB14E
tetradic
#4E6DB1 #B14E9F #B1924E #4EB160
square
#4E6DB1 #B14E9F #B1924E #4EB160
split-complementary
#4E6DB1 #B1604E #9FB14E
monochromatic
#29395C #3B5387 #4E6DB1 #7890C4 #A3B3D6

Accessibility & contrast

On white

5.06
#4E6DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4E6DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6DB1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6DB1#FFFFFF#000000##FFFFFF
##4E6DB11.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5173B4
Deuteranopia (green-blind)
#456AB0
Tritanopia (blue-blind)
#107C86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e6db1;
/* rgb */ color: rgb(78, 109, 177);
/* oklch */ color: oklch(54.3% 0.113 264.4);
Tailwind
colors: {
  custom: {
    50: '#8796c8',
    500: '#4e6db1',
    950: '#000000',
  },
}
SCSS
$custom: #4e6db1;
$custom-light: #8796c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6db1",
  "rgb": {
    "r": 78,
    "g": 109,
    "b": 177
  },
  "hsl": {
    "h": 221.212,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.54287,
    "c": 0.11276,
    "h": 264.4
  },
  "luminance": 0.15731
}

Semantic roles & 50–950 ramp

primary
#4E6DB1
secondary
#C4B697
accent
#AA59CF
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E6DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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