#4E63A1#4E63A1

#4E63A1 is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.2% C 0.102 H 268.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4E63A1
RGBrgb(78, 99, 161)
HSLhsl(225, 35%, 47%)
HSVhsv(225, 52%, 63%)
CMYKcmyk(51.6%, 38.5%, 0%, 36.9%)
CIE-LABlab(42.94, 10.24, -36.04)
CIE-LCHlch(42.94, 37.47, 285.86°)
OKLaboklab(51.17% -0.0027 -0.1019)
OKLCHoklch(51.17% 0.102 268.5)
XYZxyz(14.0347, 13.1157, 35.5033)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E63A1 #A18C4E
analogous
#4E8DA1 #4E63A1 #634EA1
triadic
#4E63A1 #A14E63 #63A14E
tetradic
#4E63A1 #A14E8D #A18C4E #4EA163
square
#4E63A1 #A14E8D #A18C4E #4EA163
split-complementary
#4E63A1 #A1634E #8DA14E
monochromatic
#26304F #3A4A78 #4E63A1 #7284BB #9BA8CF

Accessibility & contrast

On white

5.80
#4E63A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4E63A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E63A1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E63A1#FFFFFF#000000##FFFFFF
##4E63A11.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B69A3
Deuteranopia (green-blind)
#4262A0
Tritanopia (blue-blind)
#29707A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e63a1;
/* rgb */ color: rgb(78, 99, 161);
/* oklch */ color: oklch(51.2% 0.102 268.5);
Tailwind
colors: {
  custom: {
    50: '#858fbd',
    500: '#4e63a1',
    950: '#000000',
  },
}
SCSS
$custom: #4e63a1;
$custom-light: #858fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e63a1",
  "rgb": {
    "r": 78,
    "g": 99,
    "b": 161
  },
  "hsl": {
    "h": 224.819,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51166,
    "c": 0.10189,
    "h": 268.5
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

primary
#4E63A1
secondary
#BBB090
accent
#AF5DCB
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4E63A1

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

Preview Lab → · Contrast checker → · Palette generator →

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