#4E62AB#4E62AB

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

Color values

HEX#4E62AB
RGBrgb(78, 98, 171)
HSLhsl(227, 37%, 49%)
HSVhsv(227, 54%, 67%)
CMYKcmyk(54.4%, 42.7%, 0%, 32.9%)
CIE-LABlab(43.20, 14.16, -41.53)
CIE-LCHlch(43.20, 43.87, 288.83°)
OKLaboklab(51.55% 0.0006 -0.1179)
OKLCHoklch(51.55% 0.118 270.3)
XYZxyz(14.8578, 13.2943, 40.3033)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62AB #AB974E
analogous
#4E91AB #4E62AB #694EAB
triadic
#4E62AB #AB4E62 #62AB4E
tetradic
#4E62AB #AB4E91 #AB974E #4EAB69
square
#4E62AB #AB4E91 #AB974E #4EAB69
split-complementary
#4E62AB #AB694E #91AB4E
monochromatic
#283257 #3B4A81 #4E62AB #7686C0 #A0ABD4

Accessibility & contrast

On white

5.74
#4E62AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4E62AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62AB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62AB#FFFFFF#000000##FFFFFF
##4E62AB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436AAE
Deuteranopia (green-blind)
#3962A9
Tritanopia (blue-blind)
#1F727E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e62ab;
/* rgb */ color: rgb(78, 98, 171);
/* oklch */ color: oklch(51.5% 0.118 270.3);
Tailwind
colors: {
  custom: {
    50: '#868ec4',
    500: '#4e62ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e62ab;
$custom-light: #868ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62ab",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 171
  },
  "hsl": {
    "h": 227.097,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51549,
    "c": 0.1179,
    "h": 270.3
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#4E62AB
secondary
#C1B794
accent
#B55ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E62AB

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

Preview Lab → · Contrast checker → · Palette generator →

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