#4E63A2#4E63A2

#4E63A2 is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.2% C 0.103 H 268.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4E63A2
RGBrgb(78, 99, 162)
HSLhsl(225, 35%, 47%)
HSVhsv(225, 52%, 64%)
CMYKcmyk(51.9%, 38.9%, 0%, 36.5%)
CIE-LABlab(42.99, 10.56, -36.55)
CIE-LCHlch(42.99, 38.05, 286.12°)
OKLaboklab(51.22% -0.0024 -0.1033)
OKLCHoklch(51.22% 0.103 268.6)
XYZxyz(14.1232, 13.1511, 35.9696)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E63A2 #A28D4E
analogous
#4E8DA2 #4E63A2 #634EA2
triadic
#4E63A2 #A24E63 #63A24E
tetradic
#4E63A2 #A24E8D #A28D4E #4EA263
square
#4E63A2 #A24E8D #A28D4E #4EA263
split-complementary
#4E63A2 #A2634E #8DA24E
monochromatic
#26314F #3A4A79 #4E63A2 #7284BB #9BA8CF

Accessibility & contrast

On white

5.78
#4E63A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4E63A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E63A2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E63A2#FFFFFF#000000##FFFFFF
##4E63A21.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A69A5
Deuteranopia (green-blind)
#4162A1
Tritanopia (blue-blind)
#28707B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e63a2;
/* rgb */ color: rgb(78, 99, 162);
/* oklch */ color: oklch(51.2% 0.103 268.6);
Tailwind
colors: {
  custom: {
    50: '#858fbe',
    500: '#4e63a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e63a2;
$custom-light: #858fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e63a2",
  "rgb": {
    "r": 78,
    "g": 99,
    "b": 162
  },
  "hsl": {
    "h": 225,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.10337,
    "h": 268.6
  },
  "luminance": 0.13152
}

Semantic roles & 50–950 ramp

primary
#4E63A2
secondary
#BCB190
accent
#AF5DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4E63A2

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

Preview Lab → · Contrast checker → · Palette generator →

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