#4E62BF#4E62BF

#4E62BF is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.8% C 0.147 H 271.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4E62BF
RGBrgb(78, 98, 191)
HSLhsl(229, 47%, 53%)
HSVhsv(229, 59%, 75%)
CMYKcmyk(59.2%, 48.7%, 0%, 25.1%)
CIE-LABlab(44.40, 20.88, -51.30)
CIE-LCHlch(44.40, 55.39, 292.15°)
OKLaboklab(52.85% 0.0037 -0.1466)
OKLCHoklch(52.85% 0.147 271.4)
XYZxyz(16.9104, 14.1153, 51.1135)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62BF #BFAB4E
analogous
#4E9ABF #4E62BF #734EBF
triadic
#4E62BF #BF4E62 #62BF4E
tetradic
#4E62BF #BF4E9A #BFAB4E #4EBF73
square
#4E62BF #BF4E9A #BFAB4E #4EBF73
split-complementary
#4E62BF #BF734E #9ABF4E
monochromatic
#27336C #374899 #4E62BF #7B8ACF #A8B2E0

Accessibility & contrast

On white

5.49
#4E62BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4E62BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62BF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62BF#FFFFFF#000000##FFFFFF
##4E62BF1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#2064BD
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e62bf;
/* rgb */ color: rgb(78, 98, 191);
/* oklch */ color: oklch(52.8% 0.147 271.4);
Tailwind
colors: {
  custom: {
    50: '#898ed3',
    500: '#4e62bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e62bf;
$custom-light: #898ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62bf",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 229.381,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52847,
    "c": 0.14666,
    "h": 271.4
  },
  "luminance": 0.14117
}

Semantic roles & 50–950 ramp

primary
#4E62BF
secondary
#CDC49C
accent
#BF51D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4E62BF

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

Preview Lab → · Contrast checker → · Palette generator →

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