#4E62AE#4E62AE

#4E62AE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.7% C 0.122 H 270.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4E62AE
RGBrgb(78, 98, 174)
HSLhsl(228, 38%, 49%)
HSVhsv(228, 55%, 68%)
CMYKcmyk(55.2%, 43.7%, 0%, 31.8%)
CIE-LABlab(43.37, 15.16, -43.02)
CIE-LCHlch(43.37, 45.61, 289.41°)
OKLaboklab(51.74% 0.0012 -0.1223)
OKLCHoklch(51.74% 0.122 270.5)
XYZxyz(15.1470, 13.4100, 41.8264)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62AE #AE9A4E
analogous
#4E92AE #4E62AE #6A4EAE
triadic
#4E62AE #AE4E62 #62AE4E
tetradic
#4E62AE #AE4E92 #AE9A4E #4EAE6A
square
#4E62AE #AE4E92 #AE9A4E #4EAE6A
split-complementary
#4E62AE #AE6A4E #92AE4E
monochromatic
#283259 #3B4A84 #4E62AE #7787C2 #A1ACD5

Accessibility & contrast

On white

5.70
#4E62AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4E62AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62AE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62AE#FFFFFF#000000##FFFFFF
##4E62AE1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB1
Deuteranopia (green-blind)
#3663AC
Tritanopia (blue-blind)
#1A737F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e62ae;
/* rgb */ color: rgb(78, 98, 174);
/* oklch */ color: oklch(51.7% 0.122 270.5);
Tailwind
colors: {
  custom: {
    50: '#878ec6',
    500: '#4e62ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e62ae;
$custom-light: #878ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62ae",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 227.5,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51736,
    "c": 0.12229,
    "h": 270.5
  },
  "luminance": 0.13411
}

Semantic roles & 50–950 ramp

primary
#4E62AE
secondary
#C2B996
accent
#B65ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E62AE

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

Preview Lab → · Contrast checker → · Palette generator →

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