#4E62C2#4E62C2

#4E62C2 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.1% C 0.151 H 271.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4E62C2
RGBrgb(78, 98, 194)
HSLhsl(230, 49%, 53%)
HSVhsv(230, 60%, 76%)
CMYKcmyk(59.8%, 49.5%, 0%, 23.9%)
CIE-LABlab(44.59, 21.90, -52.74)
CIE-LCHlch(44.59, 57.10, 292.55°)
OKLaboklab(53.05% 0.004 -0.1508)
OKLCHoklch(53.05% 0.151 271.5)
XYZxyz(17.2439, 14.2487, 52.8700)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62C2 #C2AE4E
analogous
#4E9CC2 #4E62C2 #744EC2
triadic
#4E62C2 #C24E62 #62C24E
tetradic
#4E62C2 #C24E9C #C2AE4E #4EC274
square
#4E62C2 #C24E9C #C2AE4E #4EC274
split-complementary
#4E62C2 #C2744E #9CC24E
monochromatic
#26336F #36489D #4E62C2 #7C8AD2 #A9B3E1

Accessibility & contrast

On white

5.45
#4E62C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4E62C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62C2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62C2#FFFFFF#000000##FFFFFF
##4E62C21.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306FC5
Deuteranopia (green-blind)
#1A65C0
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e62c2;
/* rgb */ color: rgb(78, 98, 194);
/* oklch */ color: oklch(53.1% 0.151 271.5);
Tailwind
colors: {
  custom: {
    50: '#8a8ed5',
    500: '#4e62c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e62c2;
$custom-light: #8a8ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62c2",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 229.655,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53052,
    "c": 0.15088,
    "h": 271.5
  },
  "luminance": 0.1425
}

Semantic roles & 50–950 ramp

primary
#4E62C2
secondary
#CFC69D
accent
#C150D8
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4E62C2

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

Preview Lab → · Contrast checker → · Palette generator →

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