#4E62A5#4E62A5

#4E62A5 is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.2% C 0.109 H 269.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4E62A5
RGBrgb(78, 98, 165)
HSLhsl(226, 36%, 48%)
HSVhsv(226, 53%, 65%)
CMYKcmyk(52.7%, 40.6%, 0%, 35.3%)
CIE-LABlab(42.87, 12.18, -38.52)
CIE-LCHlch(42.87, 40.40, 287.54°)
OKLaboklab(51.18% -0.0006 -0.1091)
OKLCHoklch(51.18% 0.109 269.7)
XYZxyz(14.2989, 13.0707, 37.3594)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62A5 #A5914E
analogous
#4E8DA5 #4E62A5 #664EA5
triadic
#4E62A5 #A54E62 #62A54E
tetradic
#4E62A5 #A54E8D #A5914E #4EA566
square
#4E62A5 #A54E8D #A5914E #4EA566
split-complementary
#4E62A5 #A5664E #8DA54E
monochromatic
#273152 #3A497B #4E62A5 #7384BD #9DA9D1

Accessibility & contrast

On white

5.81
#4E62A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4E62A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62A5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62A5#FFFFFF#000000##FFFFFF
##4E62A51.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4769A8
Deuteranopia (green-blind)
#3D62A4
Tritanopia (blue-blind)
#26707B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e62a5;
/* rgb */ color: rgb(78, 98, 165);
/* oklch */ color: oklch(51.2% 0.109 269.7);
Tailwind
colors: {
  custom: {
    50: '#858ec0',
    500: '#4e62a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e62a5;
$custom-light: #858ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62a5",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 165
  },
  "hsl": {
    "h": 226.207,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51184,
    "c": 0.10909,
    "h": 269.7
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#4E62A5
secondary
#BDB391
accent
#B25CCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4E62A5

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

Preview Lab → · Contrast checker → · Palette generator →

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