#4E62C7#4E62C7

#4E62C7 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.4% C 0.158 H 271.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4E62C7
RGBrgb(78, 98, 199)
HSLhsl(230, 52%, 54%)
HSVhsv(230, 61%, 78%)
CMYKcmyk(60.8%, 50.8%, 0%, 22%)
CIE-LABlab(44.91, 23.60, -55.11)
CIE-LCHlch(44.91, 59.95, 293.19°)
OKLaboklab(53.4% 0.0045 -0.1578)
OKLCHoklch(53.4% 0.158 271.6)
XYZxyz(17.8149, 14.4771, 55.8773)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62C7 #C7B34E
analogous
#4E9EC7 #4E62C7 #774EC7
triadic
#4E62C7 #C74E62 #62C74E
tetradic
#4E62C7 #C74E9E #C7B34E #4EC777
square
#4E62C7 #C74E9E #C7B34E #4EC777
split-complementary
#4E62C7 #C7774E #9EC74E
monochromatic
#253275 #3446A4 #4E62C7 #7C8BD6 #ABB4E4

Accessibility & contrast

On white

5.39
#4E62C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4E62C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62C7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62C7#FFFFFF#000000##FFFFFF
##4E62C71.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A70CB
Deuteranopia (green-blind)
#0A65C5
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e62c7;
/* rgb */ color: rgb(78, 98, 199);
/* oklch */ color: oklch(53.4% 0.158 271.6);
Tailwind
colors: {
  custom: {
    50: '#8a8ed9',
    500: '#4e62c7',
    950: '#000000',
  },
}
SCSS
$custom: #4e62c7;
$custom-light: #8a8ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62c7",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 199
  },
  "hsl": {
    "h": 230.083,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53398,
    "c": 0.15786,
    "h": 271.6
  },
  "luminance": 0.14479
}

Semantic roles & 50–950 ramp

primary
#4E62C7
secondary
#D2CA9F
accent
#C44CDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E62C7

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

Preview Lab → · Contrast checker → · Palette generator →

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