#4E62CD#4E62CD

#4E62CD is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.8% C 0.166 H 271.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4E62CD
RGBrgb(78, 98, 205)
HSLhsl(231, 56%, 55%)
HSVhsv(231, 62%, 80%)
CMYKcmyk(62%, 52.2%, 0%, 19.6%)
CIE-LABlab(45.31, 25.65, -57.92)
CIE-LCHlch(45.31, 63.35, 293.89°)
OKLaboklab(53.82% 0.005 -0.1661)
OKLCHoklch(53.82% 0.166 271.7)
XYZxyz(18.5253, 14.7613, 59.6187)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62CD #CDB94E
analogous
#4EA1CD #4E62CD #794ECD
triadic
#4E62CD #CD4E62 #62CD4E
tetradic
#4E62CD #CD4EA1 #CDB94E #4ECD79
square
#4E62CD #CD4EA1 #CDB94E #4ECD79
split-complementary
#4E62CD #CD794E #A1CD4E
monochromatic
#23327D #3144AD #4E62CD #7E8CDA #ADB7E8

Accessibility & contrast

On white

5.31
#4E62CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4E62CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62CD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62CD#FFFFFF#000000##FFFFFF
##4E62CD1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e62cd;
/* rgb */ color: rgb(78, 98, 205);
/* oklch */ color: oklch(53.8% 0.166 271.7);
Tailwind
colors: {
  custom: {
    50: '#8c8edd',
    500: '#4e62cd',
    950: '#000000',
  },
}
SCSS
$custom: #4e62cd;
$custom-light: #8c8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62cd",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 230.551,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53824,
    "c": 0.16616,
    "h": 271.7
  },
  "luminance": 0.14763
}

Semantic roles & 50–950 ramp

primary
#4E62CD
secondary
#D6CEA1
accent
#C849DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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