#4E6CA1#4E6CA1

#4E6CA1 is a mid, moderate blue. Relative luminance 0.149; OKLCH L 53.2% C 0.091 H 261.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E6CA1
RGBrgb(78, 108, 161)
HSLhsl(218, 35%, 47%)
HSVhsv(218, 52%, 63%)
CMYKcmyk(51.6%, 32.9%, 0%, 36.9%)
CIE-LABlab(45.52, 4.64, -31.97)
CIE-LCHlch(45.52, 32.31, 278.25°)
OKLaboklab(53.17% -0.0138 -0.09)
OKLCHoklch(53.17% 0.091 261.3)
XYZxyz(14.9353, 14.9170, 35.8035)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CA1 #A1834E
analogous
#4E96A1 #4E6CA1 #5A4EA1
triadic
#4E6CA1 #A14E6C #6CA14E
tetradic
#4E6CA1 #A14E96 #A1834E #4EA15A
square
#4E6CA1 #A14E96 #A1834E #4EA15A
split-complementary
#4E6CA1 #A15A4E #96A14E
monochromatic
#26354F #3A5078 #4E6CA1 #728CBB #9BAECF

Accessibility & contrast

On white

5.27
#4E6CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4E6CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CA1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CA1#FFFFFF#000000##FFFFFF
##4E6CA11.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5770A3
Deuteranopia (green-blind)
#4E68A0
Tritanopia (blue-blind)
#27787F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e6ca1;
/* rgb */ color: rgb(78, 108, 161);
/* oklch */ color: oklch(53.2% 0.091 261.3);
Tailwind
colors: {
  custom: {
    50: '#8595bd',
    500: '#4e6ca1',
    950: '#000000',
  },
}
SCSS
$custom: #4e6ca1;
$custom-light: #8595bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6ca1",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 161
  },
  "hsl": {
    "h": 218.313,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53169,
    "c": 0.09102,
    "h": 261.3
  },
  "luminance": 0.14918
}

Semantic roles & 50–950 ramp

primary
#4E6CA1
secondary
#BBAB90
accent
#A35DCB
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4E6CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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