#4E63B7#4E63B7

#4E63B7 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.5% C 0.134 H 270.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4E63B7
RGBrgb(78, 99, 183)
HSLhsl(228, 42%, 51%)
HSVhsv(228, 57%, 72%)
CMYKcmyk(57.4%, 45.9%, 0%, 28.2%)
CIE-LABlab(44.18, 17.54, -47.00)
CIE-LCHlch(44.18, 50.17, 290.47°)
OKLaboklab(52.52% 0.0015 -0.134)
OKLCHoklch(52.52% 0.134 270.6)
XYZxyz(16.1481, 13.9611, 46.6344)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E63B7 #B7A24E
analogous
#4E97B7 #4E63B7 #6D4EB7
triadic
#4E63B7 #B74E63 #63B74E
tetradic
#4E63B7 #B74E97 #B7A24E #4EB76D
square
#4E63B7 #B74E97 #B7A24E #4EB76D
split-complementary
#4E63B7 #B76D4E #97B74E
monochromatic
#283463 #3A4B8E #4E63B7 #7A89C9 #A5B0DA

Accessibility & contrast

On white

5.54
#4E63B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4E63B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E63B7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E63B7#FFFFFF#000000##FFFFFF
##4E63B71.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6DBA
Deuteranopia (green-blind)
#2E64B5
Tritanopia (blue-blind)
#057684
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e63b7;
/* rgb */ color: rgb(78, 99, 183);
/* oklch */ color: oklch(52.5% 0.134 270.6);
Tailwind
colors: {
  custom: {
    50: '#888fcd',
    500: '#4e63b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e63b7;
$custom-light: #888fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e63b7",
  "rgb": {
    "r": 78,
    "g": 99,
    "b": 183
  },
  "hsl": {
    "h": 228,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.13398,
    "h": 270.6
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#4E63B7
secondary
#C8BE99
accent
#B956D2
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E63B7

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

Preview Lab → · Contrast checker → · Palette generator →

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