#4E6ABA#4E6ABA

#4E6ABA is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.2% C 0.129 H 267.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4E6ABA
RGBrgb(78, 106, 186)
HSLhsl(224, 44%, 52%)
HSVhsv(224, 58%, 73%)
CMYKcmyk(58.1%, 43%, 0%, 27.1%)
CIE-LABlab(46.27, 14.15, -45.40)
CIE-LCHlch(46.27, 47.56, 287.31°)
OKLaboklab(54.18% -0.0057 -0.1292)
OKLCHoklch(54.18% 0.129 267.5)
XYZxyz(17.1559, 15.4716, 48.5271)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6ABA #BA9E4E
analogous
#4EA0BA #4E6ABA #684EBA
triadic
#4E6ABA #BA4E6A #6ABA4E
tetradic
#4E6ABA #BA4EA0 #BA9E4E #4EBA68
square
#4E6ABA #BA4EA0 #BA9E4E #4EBA68
split-complementary
#4E6ABA #BA684E #A0BA4E
monochromatic
#283866 #395092 #4E6ABA #7A8FCB #A6B4DC

Accessibility & contrast

On white

5.13
#4E6ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4E6ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6ABA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6ABA#FFFFFF#000000##FFFFFF
##4E6ABA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4773BD
Deuteranopia (green-blind)
#3869B8
Tritanopia (blue-blind)
#007C89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e6aba;
/* rgb */ color: rgb(78, 106, 186);
/* oklch */ color: oklch(54.2% 0.129 267.5);
Tailwind
colors: {
  custom: {
    50: '#8894cf',
    500: '#4e6aba',
    950: '#000000',
  },
}
SCSS
$custom: #4e6aba;
$custom-light: #8894cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6aba",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 224.444,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54182,
    "c": 0.12932,
    "h": 267.5
  },
  "luminance": 0.15473
}

Semantic roles & 50–950 ramp

primary
#4E6ABA
secondary
#CABD9A
accent
#B354D4
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4E6ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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