#4E63BA#4E63BA

#4E63BA is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.7% C 0.138 H 270.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4E63BA
RGBrgb(78, 99, 186)
HSLhsl(228, 44%, 52%)
HSVhsv(228, 58%, 73%)
CMYKcmyk(58.1%, 46.8%, 0%, 27.1%)
CIE-LABlab(44.36, 18.56, -48.46)
CIE-LCHlch(44.36, 51.89, 290.95°)
OKLaboklab(52.72% 0.002 -0.1383)
OKLCHoklch(52.72% 0.138 270.8)
XYZxyz(16.4637, 14.0873, 48.2964)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E63BA #BAA54E
analogous
#4E99BA #4E63BA #6F4EBA
triadic
#4E63BA #BA4E63 #63BA4E
tetradic
#4E63BA #BA4E99 #BAA54E #4EBA6F
square
#4E63BA #BA4E99 #BAA54E #4EBA6F
split-complementary
#4E63BA #BA6F4E #99BA4E
monochromatic
#283466 #394A92 #4E63BA #7A8ACB #A6B1DC

Accessibility & contrast

On white

5.50
#4E63BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4E63BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E63BA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E63BA#FFFFFF#000000##FFFFFF
##4E63BA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#2A64B8
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e63ba;
/* rgb */ color: rgb(78, 99, 186);
/* oklch */ color: oklch(52.7% 0.138 270.8);
Tailwind
colors: {
  custom: {
    50: '#888fcf',
    500: '#4e63ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e63ba;
$custom-light: #888fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e63ba",
  "rgb": {
    "r": 78,
    "g": 99,
    "b": 186
  },
  "hsl": {
    "h": 228.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.13826,
    "h": 270.8
  },
  "luminance": 0.14089
}

Semantic roles & 50–950 ramp

primary
#4E63BA
secondary
#CAC09A
accent
#BB54D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E63BA

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

Preview Lab → · Contrast checker → · Palette generator →

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