#4E63B5#4E63B5

#4E63B5 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.4% C 0.131 H 270.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4E63B5
RGBrgb(78, 99, 181)
HSLhsl(228, 41%, 51%)
HSVhsv(228, 57%, 71%)
CMYKcmyk(56.9%, 45.3%, 0%, 29%)
CIE-LABlab(44.06, 16.87, -46.03)
CIE-LCHlch(44.06, 49.02, 290.13°)
OKLaboklab(52.39% 0.0012 -0.1311)
OKLCHoklch(52.39% 0.131 270.5)
XYZxyz(15.9415, 13.8784, 45.5458)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E63B5 #B5A04E
analogous
#4E96B5 #4E63B5 #6C4EB5
triadic
#4E63B5 #B54E63 #63B54E
tetradic
#4E63B5 #B54E96 #B5A04E #4EB56C
square
#4E63B5 #B54E96 #B5A04E #4EB56C
split-complementary
#4E63B5 #B56C4E #96B54E
monochromatic
#283460 #3A4B8B #4E63B5 #7989C7 #A4AFD9

Accessibility & contrast

On white

5.56
#4E63B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4E63B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E63B5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E63B5#FFFFFF#000000##FFFFFF
##4E63B51.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6DB8
Deuteranopia (green-blind)
#3064B3
Tritanopia (blue-blind)
#0B7583
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e63b5;
/* rgb */ color: rgb(78, 99, 181);
/* oklch */ color: oklch(52.4% 0.131 270.5);
Tailwind
colors: {
  custom: {
    50: '#888fcc',
    500: '#4e63b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e63b5;
$custom-light: #888fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e63b5",
  "rgb": {
    "r": 78,
    "g": 99,
    "b": 181
  },
  "hsl": {
    "h": 227.767,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52391,
    "c": 0.13111,
    "h": 270.5
  },
  "luminance": 0.1388
}

Semantic roles & 50–950 ramp

primary
#4E63B5
secondary
#C6BD99
accent
#B857D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E63B5

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

Preview Lab → · Contrast checker → · Palette generator →

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