#4E62C8#4E62C8

#4E62C8 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.159 H 271.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4E62C8
RGBrgb(78, 98, 200)
HSLhsl(230, 53%, 55%)
HSVhsv(230, 61%, 78%)
CMYKcmyk(61%, 51%, 0%, 21.6%)
CIE-LABlab(44.97, 23.94, -55.58)
CIE-LCHlch(44.97, 60.52, 293.31°)
OKLaboklab(53.47% 0.0046 -0.1592)
OKLCHoklch(53.47% 0.159 271.7)
XYZxyz(17.9314, 14.5237, 56.4908)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62C8 #C8B44E
analogous
#4E9FC8 #4E62C8 #774EC8
triadic
#4E62C8 #C84E62 #62C84E
tetradic
#4E62C8 #C84E9F #C8B44E #4EC877
square
#4E62C8 #C84E9F #C8B44E #4EC877
split-complementary
#4E62C8 #C8774E #9FC84E
monochromatic
#253277 #3346A5 #4E62C8 #7D8BD7 #ABB5E5

Accessibility & contrast

On white

5.38
#4E62C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E62C8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62C8#FFFFFF#000000##FFFFFF
##4E62C81.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2970CC
Deuteranopia (green-blind)
#0565C6
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e62c8;
/* rgb */ color: rgb(78, 98, 200);
/* oklch */ color: oklch(53.5% 0.159 271.7);
Tailwind
colors: {
  custom: {
    50: '#8b8ed9',
    500: '#4e62c8',
    950: '#000000',
  },
}
SCSS
$custom: #4e62c8;
$custom-light: #8b8ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62c8",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 230.164,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53469,
    "c": 0.15926,
    "h": 271.7
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#4E62C8
secondary
#D3CA9F
accent
#C44CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E62C8

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

Preview Lab → · Contrast checker → · Palette generator →

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