#4E62BD#4E62BD

#4E62BD is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.7% C 0.144 H 271.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4E62BD
RGBrgb(78, 98, 189)
HSLhsl(229, 46%, 52%)
HSVhsv(229, 59%, 74%)
CMYKcmyk(58.7%, 48.1%, 0%, 25.9%)
CIE-LABlab(44.27, 20.20, -50.34)
CIE-LCHlch(44.27, 54.25, 291.87°)
OKLaboklab(52.71% 0.0034 -0.1438)
OKLCHoklch(52.71% 0.144 271.4)
XYZxyz(16.6918, 14.0279, 49.9623)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62BD #BDA94E
analogous
#4E9ABD #4E62BD #714EBD
triadic
#4E62BD #BD4E62 #62BD4E
tetradic
#4E62BD #BD4E9A #BDA94E #4EBD71
square
#4E62BD #BD4E9A #BDA94E #4EBD71
split-complementary
#4E62BD #BD714E #9ABD4E
monochromatic
#273369 #384996 #4E62BD #7B8ACE #A7B1DE

Accessibility & contrast

On white

5.52
#4E62BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4E62BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62BD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62BD#FFFFFF#000000##FFFFFF
##4E62BD1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#2364BB
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e62bd;
/* rgb */ color: rgb(78, 98, 189);
/* oklch */ color: oklch(52.7% 0.144 271.4);
Tailwind
colors: {
  custom: {
    50: '#898ed1',
    500: '#4e62bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e62bd;
$custom-light: #898ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62bd",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 229.189,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.14383,
    "h": 271.4
  },
  "luminance": 0.14029
}

Semantic roles & 50–950 ramp

primary
#4E62BD
secondary
#CCC39B
accent
#BE52D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E62BD

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

Preview Lab → · Contrast checker → · Palette generator →

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