#4E62D3#4E62D3

#4E62D3 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.174 H 271.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4E62D3
RGBrgb(78, 98, 211)
HSLhsl(231, 60%, 57%)
HSVhsv(231, 63%, 83%)
CMYKcmyk(63%, 53.6%, 0%, 17.3%)
CIE-LABlab(45.71, 27.70, -60.70)
CIE-LCHlch(45.71, 66.72, 294.53°)
OKLaboklab(54.26% 0.0054 -0.1743)
OKLCHoklch(54.26% 0.174 271.8)
XYZxyz(19.2635, 15.0566, 63.5064)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62D3 #D3BF4E
analogous
#4EA5D3 #4E62D3 #7D4ED3
triadic
#4E62D3 #D34E62 #62D34E
tetradic
#4E62D3 #D34EA5 #D3BF4E #4ED37D
square
#4E62D3 #D34EA5 #D3BF4E #4ED37D
split-complementary
#4E62D3 #D37D4E #A5D34E
monochromatic
#213085 #2D42B6 #4E62D3 #7F8DDF #B0B9EB

Accessibility & contrast

On white

5.23
#4E62D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4E62D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62D3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62D3#FFFFFF#000000##FFFFFF
##4E62D31.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1372D7
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e62d3;
/* rgb */ color: rgb(78, 98, 211);
/* oklch */ color: oklch(54.3% 0.174 271.8);
Tailwind
colors: {
  custom: {
    50: '#8d8ee1',
    500: '#4e62d3',
    950: '#000000',
  },
}
SCSS
$custom: #4e62d3;
$custom-light: #8d8ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62d3",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 211
  },
  "hsl": {
    "h": 230.977,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54259,
    "c": 0.17435,
    "h": 271.8
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#4E62D3
secondary
#DAD1A3
accent
#CB44E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E62D3

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

Preview Lab → · Contrast checker → · Palette generator →

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