#4E62B2#4E62B2

#4E62B2 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.0% C 0.128 H 270.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4E62B2
RGBrgb(78, 98, 178)
HSLhsl(228, 39%, 50%)
HSVhsv(228, 56%, 70%)
CMYKcmyk(56.2%, 44.9%, 0%, 30.2%)
CIE-LABlab(43.61, 16.49, -44.99)
CIE-LCHlch(43.61, 47.92, 290.13°)
OKLaboklab(51.99% 0.0019 -0.1281)
OKLCHoklch(51.99% 0.128 270.8)
XYZxyz(15.5428, 13.5683, 43.9107)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62B2 #B29E4E
analogous
#4E94B2 #4E62B2 #6C4EB2
triadic
#4E62B2 #B24E62 #62B24E
tetradic
#4E62B2 #B24E94 #B29E4E #4EB26C
square
#4E62B2 #B24E94 #B29E4E #4EB26C
split-complementary
#4E62B2 #B26C4E #94B24E
monochromatic
#29335D #3B4A88 #4E62B2 #7988C5 #A3AED7

Accessibility & contrast

On white

5.65
#4E62B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4E62B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62B2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62B2#FFFFFF#000000##FFFFFF
##4E62B21.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#3263B0
Tritanopia (blue-blind)
#137481
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e62b2;
/* rgb */ color: rgb(78, 98, 178);
/* oklch */ color: oklch(52.0% 0.128 270.8);
Tailwind
colors: {
  custom: {
    50: '#878ec9',
    500: '#4e62b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e62b2;
$custom-light: #878ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62b2",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 228,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5199,
    "c": 0.12808,
    "h": 270.8
  },
  "luminance": 0.13569
}

Semantic roles & 50–950 ramp

primary
#4E62B2
secondary
#C4BB98
accent
#B859CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E62B2

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

Preview Lab → · Contrast checker → · Palette generator →

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