#4E62BA#4E62BA

#4E62BA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.5% C 0.140 H 271.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4E62BA
RGBrgb(78, 98, 186)
HSLhsl(229, 44%, 52%)
HSVhsv(229, 58%, 73%)
CMYKcmyk(58.1%, 47.3%, 0%, 27.1%)
CIE-LABlab(44.09, 19.19, -48.89)
CIE-LCHlch(44.09, 52.53, 291.43°)
OKLaboklab(52.51% 0.003 -0.1395)
OKLCHoklch(52.51% 0.14 271.2)
XYZxyz(16.3696, 13.8990, 48.2650)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62BA #BAA64E
analogous
#4E98BA #4E62BA #704EBA
triadic
#4E62BA #BA4E62 #62BA4E
tetradic
#4E62BA #BA4E98 #BAA64E #4EBA70
square
#4E62BA #BA4E98 #BAA64E #4EBA70
split-complementary
#4E62BA #BA704E #98BA4E
monochromatic
#283366 #394992 #4E62BA #7A89CB #A6B0DC

Accessibility & contrast

On white

5.56
#4E62BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4E62BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62BA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62BA#FFFFFF#000000##FFFFFF
##4E62BA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386DBD
Deuteranopia (green-blind)
#2864B8
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e62ba;
/* rgb */ color: rgb(78, 98, 186);
/* oklch */ color: oklch(52.5% 0.140 271.2);
Tailwind
colors: {
  custom: {
    50: '#888ecf',
    500: '#4e62ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e62ba;
$custom-light: #888ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62ba",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 228.889,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.13956,
    "h": 271.2
  },
  "luminance": 0.139
}

Semantic roles & 50–950 ramp

primary
#4E62BA
secondary
#CAC19A
accent
#BC54D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E62BA

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

Preview Lab → · Contrast checker → · Palette generator →

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