#4E62BC#4E62BC

#4E62BC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.6% C 0.142 H 271.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4E62BC
RGBrgb(78, 98, 188)
HSLhsl(229, 45%, 52%)
HSVhsv(229, 59%, 74%)
CMYKcmyk(58.5%, 47.9%, 0%, 26.3%)
CIE-LABlab(44.21, 19.86, -49.86)
CIE-LCHlch(44.21, 53.67, 291.72°)
OKLaboklab(52.65% 0.0033 -0.1424)
OKLCHoklch(52.65% 0.142 271.3)
XYZxyz(16.5837, 13.9846, 49.3926)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62BC #BCA84E
analogous
#4E99BC #4E62BC #714EBC
triadic
#4E62BC #BC4E62 #62BC4E
tetradic
#4E62BC #BC4E99 #BCA84E #4EBC71
square
#4E62BC #BC4E99 #BCA84E #4EBC71
split-complementary
#4E62BC #BC714E #99BC4E
monochromatic
#273368 #384995 #4E62BC #7A89CD #A7B1DE

Accessibility & contrast

On white

5.53
#4E62BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4E62BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62BC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62BC#FFFFFF#000000##FFFFFF
##4E62BC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EBF
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e62bc;
/* rgb */ color: rgb(78, 98, 188);
/* oklch */ color: oklch(52.6% 0.142 271.3);
Tailwind
colors: {
  custom: {
    50: '#898ed1',
    500: '#4e62bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e62bc;
$custom-light: #898ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62bc",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 229.091,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52645,
    "c": 0.14241,
    "h": 271.3
  },
  "luminance": 0.13986
}

Semantic roles & 50–950 ramp

primary
#4E62BC
secondary
#CBC29B
accent
#BD53D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E62BC

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

Preview Lab → · Contrast checker → · Palette generator →

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