#4E6AC1#4E6AC1

#4E6AC1 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.6% C 0.139 H 268.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E6AC1
RGBrgb(78, 106, 193)
HSLhsl(225, 48%, 53%)
HSVhsv(225, 60%, 76%)
CMYKcmyk(59.6%, 45.1%, 0%, 24.3%)
CIE-LABlab(46.68, 16.52, -48.80)
CIE-LCHlch(46.68, 51.53, 288.71°)
OKLaboklab(54.63% -0.0045 -0.1392)
OKLCHoklch(54.63% 0.139 268.1)
XYZxyz(17.9183, 15.7766, 52.5427)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6AC1 #C1A54E
analogous
#4EA3C1 #4E6AC1 #6B4EC1
triadic
#4E6AC1 #C14E6A #6AC14E
tetradic
#4E6AC1 #C14EA3 #C1A54E #4EC16B
square
#4E6AC1 #C14EA3 #C1A54E #4EC16B
split-complementary
#4E6AC1 #C16B4E #A3C14E
monochromatic
#27386E #364F9B #4E6AC1 #7B90D1 #A9B6E1

Accessibility & contrast

On white

5.05
#4E6AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4E6AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6AC1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6AC1#FFFFFF#000000##FFFFFF
##4E6AC11.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4274C4
Deuteranopia (green-blind)
#316ABF
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e6ac1;
/* rgb */ color: rgb(78, 106, 193);
/* oklch */ color: oklch(54.6% 0.139 268.1);
Tailwind
colors: {
  custom: {
    50: '#8994d4',
    500: '#4e6ac1',
    950: '#000000',
  },
}
SCSS
$custom: #4e6ac1;
$custom-light: #8994d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6ac1",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 193
  },
  "hsl": {
    "h": 225.391,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54625,
    "c": 0.13924,
    "h": 268.1
  },
  "luminance": 0.15778
}

Semantic roles & 50–950 ramp

primary
#4E6AC1
secondary
#CEC29D
accent
#B750D8
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4E6AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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