#4E63B1#4E63B1

#4E63B1 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.1% C 0.125 H 270.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4E63B1
RGBrgb(78, 99, 177)
HSLhsl(227, 39%, 50%)
HSVhsv(227, 56%, 69%)
CMYKcmyk(55.9%, 44.1%, 0%, 30.6%)
CIE-LABlab(43.82, 15.53, -44.06)
CIE-LCHlch(43.82, 46.72, 289.41°)
OKLaboklab(52.14% 0.0005 -0.1253)
OKLCHoklch(52.14% 0.125 270.2)
XYZxyz(15.5369, 13.7166, 43.4153)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E63B1 #B19C4E
analogous
#4E94B1 #4E63B1 #6B4EB1
triadic
#4E63B1 #B14E63 #63B14E
tetradic
#4E63B1 #B14E94 #B19C4E #4EB16B
square
#4E63B1 #B14E94 #B19C4E #4EB16B
split-complementary
#4E63B1 #B16B4E #94B14E
monochromatic
#29335C #3B4B87 #4E63B1 #7888C4 #A3AED6

Accessibility & contrast

On white

5.61
#4E63B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4E63B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E63B1
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E63B1#FFFFFF#000000##FFFFFF
##4E63B11.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416CB4
Deuteranopia (green-blind)
#3563AF
Tritanopia (blue-blind)
#157481
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e63b1;
/* rgb */ color: rgb(78, 99, 177);
/* oklch */ color: oklch(52.1% 0.125 270.2);
Tailwind
colors: {
  custom: {
    50: '#878fc9',
    500: '#4e63b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e63b1;
$custom-light: #878fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e63b1",
  "rgb": {
    "r": 78,
    "g": 99,
    "b": 177
  },
  "hsl": {
    "h": 227.273,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.52136,
    "c": 0.12533,
    "h": 270.2
  },
  "luminance": 0.13718
}

Semantic roles & 50–950 ramp

primary
#4E63B1
secondary
#C4BA97
accent
#B659CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E63B1

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

Preview Lab → · Contrast checker → · Palette generator →

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