#4E62AA#4E62AA

#4E62AA is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.5% C 0.116 H 270.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4E62AA
RGBrgb(78, 98, 170)
HSLhsl(227, 37%, 49%)
HSVhsv(227, 54%, 67%)
CMYKcmyk(54.1%, 42.4%, 0%, 33.3%)
CIE-LABlab(43.15, 13.83, -41.03)
CIE-LCHlch(43.15, 43.29, 288.62°)
OKLaboklab(51.49% 0.0004 -0.1164)
OKLCHoklch(51.49% 0.116 270.2)
XYZxyz(14.7629, 13.2563, 39.8032)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62AA #AA964E
analogous
#4E90AA #4E62AA #684EAA
triadic
#4E62AA #AA4E62 #62AA4E
tetradic
#4E62AA #AA4E90 #AA964E #4EAA68
square
#4E62AA #AA4E90 #AA964E #4EAA68
split-complementary
#4E62AA #AA684E #90AA4E
monochromatic
#283256 #3B4A80 #4E62AA #7586C0 #9FABD3

Accessibility & contrast

On white

5.75
#4E62AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4E62AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62AA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62AA#FFFFFF#000000##FFFFFF
##4E62AA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#3962A8
Tritanopia (blue-blind)
#20727E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e62aa;
/* rgb */ color: rgb(78, 98, 170);
/* oklch */ color: oklch(51.5% 0.116 270.2);
Tailwind
colors: {
  custom: {
    50: '#868ec4',
    500: '#4e62aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e62aa;
$custom-light: #868ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62aa",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 226.957,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51488,
    "c": 0.11644,
    "h": 270.2
  },
  "luminance": 0.13257
}

Semantic roles & 50–950 ramp

primary
#4E62AA
secondary
#C0B694
accent
#B45BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #4E62AA

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

Preview Lab → · Contrast checker → · Palette generator →

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