#4E62B4#4E62B4

#4E62B4 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.1% C 0.131 H 270.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4E62B4
RGBrgb(78, 98, 180)
HSLhsl(228, 40%, 51%)
HSVhsv(228, 57%, 71%)
CMYKcmyk(56.7%, 45.6%, 0%, 29.4%)
CIE-LABlab(43.73, 17.17, -45.97)
CIE-LCHlch(43.73, 49.07, 290.47°)
OKLaboklab(52.12% 0.0022 -0.1309)
OKLCHoklch(52.12% 0.131 270.9)
XYZxyz(15.7451, 13.6492, 44.9760)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62B4 #B4A04E
analogous
#4E95B4 #4E62B4 #6D4EB4
triadic
#4E62B4 #B44E62 #62B44E
tetradic
#4E62B4 #B44E95 #B4A04E #4EB46D
square
#4E62B4 #B44E95 #B4A04E #4EB46D
split-complementary
#4E62B4 #B46D4E #95B44E
monochromatic
#28335F #3B4A8A #4E62B4 #7988C6 #A4AED8

Accessibility & contrast

On white

5.63
#4E62B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4E62B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62B4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62B4#FFFFFF#000000##FFFFFF
##4E62B41.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6CB7
Deuteranopia (green-blind)
#3063B2
Tritanopia (blue-blind)
#0F7482
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e62b4;
/* rgb */ color: rgb(78, 98, 180);
/* oklch */ color: oklch(52.1% 0.131 270.9);
Tailwind
colors: {
  custom: {
    50: '#878ecb',
    500: '#4e62b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e62b4;
$custom-light: #878ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62b4",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 180
  },
  "hsl": {
    "h": 228.235,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.13097,
    "h": 270.9
  },
  "luminance": 0.1365
}

Semantic roles & 50–950 ramp

primary
#4E62B4
secondary
#C6BD98
accent
#B957D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E62B4

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

Preview Lab → · Contrast checker → · Palette generator →

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