#4E62BB#4E62BB

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

Color values

HEX#4E62BB
RGBrgb(78, 98, 187)
HSLhsl(229, 44%, 52%)
HSVhsv(229, 58%, 73%)
CMYKcmyk(58.3%, 47.6%, 0%, 26.7%)
CIE-LABlab(44.15, 19.53, -49.38)
CIE-LCHlch(44.15, 53.10, 291.58°)
OKLaboklab(52.58% 0.0032 -0.1409)
OKLCHoklch(52.58% 0.141 271.3)
XYZxyz(16.4762, 13.9417, 48.8268)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62BB #BBA74E
analogous
#4E99BB #4E62BB #714EBB
triadic
#4E62BB #BB4E62 #62BB4E
tetradic
#4E62BB #BB4E99 #BBA74E #4EBB71
square
#4E62BB #BB4E99 #BBA74E #4EBB71
split-complementary
#4E62BB #BB714E #99BB4E
monochromatic
#283367 #394993 #4E62BB #7A89CC #A6B0DD

Accessibility & contrast

On white

5.54
#4E62BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4E62BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62BB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62BB#FFFFFF#000000##FFFFFF
##4E62BB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBE
Deuteranopia (green-blind)
#2664B9
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e62bb;
/* rgb */ color: rgb(78, 98, 187);
/* oklch */ color: oklch(52.6% 0.141 271.3);
Tailwind
colors: {
  custom: {
    50: '#898ed0',
    500: '#4e62bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e62bb;
$custom-light: #898ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62bb",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 228.991,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52578,
    "c": 0.14099,
    "h": 271.3
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#4E62BB
secondary
#CAC29B
accent
#BD54D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E62BB

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

Preview Lab → · Contrast checker → · Palette generator →

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