#4E62CF#4E62CF

#4E62CF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.0% C 0.169 H 271.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4E62CF
RGBrgb(78, 98, 207)
HSLhsl(231, 57%, 56%)
HSVhsv(231, 62%, 81%)
CMYKcmyk(62.3%, 52.7%, 0%, 18.8%)
CIE-LABlab(45.44, 26.33, -58.85)
CIE-LCHlch(45.44, 64.48, 294.11°)
OKLaboklab(53.97% 0.0052 -0.1688)
OKLCHoklch(53.97% 0.169 271.8)
XYZxyz(18.7683, 14.8585, 60.8983)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62CF #CFBB4E
analogous
#4EA2CF #4E62CF #7A4ECF
triadic
#4E62CF #CF4E62 #62CF4E
tetradic
#4E62CF #CF4EA2 #CFBB4E #4ECF7A
square
#4E62CF #CF4EA2 #CFBB4E #4ECF7A
split-complementary
#4E62CF #CF7A4E #A2CF4E
monochromatic
#233180 #3044B0 #4E62CF #7E8DDC #AEB7E9

Accessibility & contrast

On white

5.29
#4E62CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4E62CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62CF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62CF#FFFFFF#000000##FFFFFF
##4E62CF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D71D3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e62cf;
/* rgb */ color: rgb(78, 98, 207);
/* oklch */ color: oklch(54.0% 0.169 271.8);
Tailwind
colors: {
  custom: {
    50: '#8c8ede',
    500: '#4e62cf',
    950: '#000000',
  },
}
SCSS
$custom: #4e62cf;
$custom-light: #8c8ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62cf",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 230.698,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53968,
    "c": 0.1689,
    "h": 271.8
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#4E62CF
secondary
#D7CFA2
accent
#C947E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E62CF

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

Preview Lab → · Contrast checker → · Palette generator →

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