#4E62A2#4E62A2

#4E62A2 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.0% C 0.105 H 269.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4E62A2
RGBrgb(78, 98, 162)
HSLhsl(226, 35%, 47%)
HSVhsv(226, 52%, 64%)
CMYKcmyk(51.9%, 39.5%, 0%, 36.5%)
CIE-LABlab(42.71, 11.19, -37.00)
CIE-LCHlch(42.71, 38.65, 286.83°)
OKLaboklab(51.01% -0.0012 -0.1047)
OKLCHoklch(51.01% 0.105 269.3)
XYZxyz(14.0290, 12.9628, 35.9382)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62A2 #A28E4E
analogous
#4E8CA2 #4E62A2 #644EA2
triadic
#4E62A2 #A24E62 #62A24E
tetradic
#4E62A2 #A24E8C #A28E4E #4EA264
square
#4E62A2 #A24E8C #A28E4E #4EA264
split-complementary
#4E62A2 #A2644E #8CA24E
monochromatic
#26304F #3A4979 #4E62A2 #7283BB #9BA8CF

Accessibility & contrast

On white

5.85
#4E62A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4E62A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62A2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62A2#FFFFFF#000000##FFFFFF
##4E62A21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#4061A1
Tritanopia (blue-blind)
#28707A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e62a2;
/* rgb */ color: rgb(78, 98, 162);
/* oklch */ color: oklch(51.0% 0.105 269.3);
Tailwind
colors: {
  custom: {
    50: '#858ebe',
    500: '#4e62a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e62a2;
$custom-light: #858ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62a2",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 162
  },
  "hsl": {
    "h": 225.714,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.10467,
    "h": 269.3
  },
  "luminance": 0.12964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E62A2

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

Preview Lab → · Contrast checker → · Palette generator →

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