#4E62B6#4E62B6

#4E62B6 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.2% C 0.134 H 271.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4E62B6
RGBrgb(78, 98, 182)
HSLhsl(228, 42%, 51%)
HSVhsv(228, 57%, 71%)
CMYKcmyk(57.1%, 46.2%, 0%, 28.6%)
CIE-LABlab(43.85, 17.84, -46.95)
CIE-LCHlch(43.85, 50.23, 290.80°)
OKLaboklab(52.25% 0.0025 -0.1338)
OKLCHoklch(52.25% 0.134 271.1)
XYZxyz(15.9503, 13.7313, 46.0568)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62B6 #B6A24E
analogous
#4E96B6 #4E62B6 #6E4EB6
triadic
#4E62B6 #B64E62 #62B64E
tetradic
#4E62B6 #B64E96 #B6A24E #4EB66E
square
#4E62B6 #B64E96 #B6A24E #4EB66E
split-complementary
#4E62B6 #B66E4E #96B64E
monochromatic
#283361 #3A4A8D #4E62B6 #7988C8 #A5AFDA

Accessibility & contrast

On white

5.61
#4E62B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4E62B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62B6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62B6#FFFFFF#000000##FFFFFF
##4E62B61.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6CB9
Deuteranopia (green-blind)
#2D63B4
Tritanopia (blue-blind)
#097583
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e62b6;
/* rgb */ color: rgb(78, 98, 182);
/* oklch */ color: oklch(52.2% 0.134 271.1);
Tailwind
colors: {
  custom: {
    50: '#888ecc',
    500: '#4e62b6',
    950: '#000000',
  },
}
SCSS
$custom: #4e62b6;
$custom-light: #888ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62b6",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 182
  },
  "hsl": {
    "h": 228.462,
    "s": 41.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52248,
    "c": 0.13384,
    "h": 271.1
  },
  "luminance": 0.13732
}

Semantic roles & 50–950 ramp

primary
#4E62B6
secondary
#C7BE99
accent
#BA56D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E62B6

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

Preview Lab → · Contrast checker → · Palette generator →

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