#4E63A5#4E63A5

#4E63A5 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.4% C 0.108 H 269.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4E63A5
RGBrgb(78, 99, 165)
HSLhsl(226, 36%, 48%)
HSVhsv(226, 53%, 65%)
CMYKcmyk(52.7%, 40%, 0%, 35.3%)
CIE-LABlab(43.15, 11.55, -38.07)
CIE-LCHlch(43.15, 39.78, 286.87°)
OKLaboklab(51.4% -0.0018 -0.1078)
OKLCHoklch(51.4% 0.108 269.1)
XYZxyz(14.3930, 13.2590, 37.3908)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E63A5 #A5904E
analogous
#4E8EA5 #4E63A5 #644EA5
triadic
#4E63A5 #A54E63 #63A54E
tetradic
#4E63A5 #A54E8E #A5904E #4EA564
square
#4E63A5 #A54E8E #A5904E #4EA564
split-complementary
#4E63A5 #A5644E #8EA54E
monochromatic
#273152 #3A4A7B #4E63A5 #7385BD #9DA9D1

Accessibility & contrast

On white

5.75
#4E63A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4E63A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E63A5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E63A5#FFFFFF#000000##FFFFFF
##4E63A51.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496AA8
Deuteranopia (green-blind)
#3F62A4
Tritanopia (blue-blind)
#25717C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e63a5;
/* rgb */ color: rgb(78, 99, 165);
/* oklch */ color: oklch(51.4% 0.108 269.1);
Tailwind
colors: {
  custom: {
    50: '#858fc0',
    500: '#4e63a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e63a5;
$custom-light: #858fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e63a5",
  "rgb": {
    "r": 78,
    "g": 99,
    "b": 165
  },
  "hsl": {
    "h": 225.517,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51401,
    "c": 0.10779,
    "h": 269.1
  },
  "luminance": 0.1326
}

Semantic roles & 50–950 ramp

primary
#4E63A5
secondary
#BDB391
accent
#B15CCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4E63A5

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

Preview Lab → · Contrast checker → · Palette generator →

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