#4E62B5#4E62B5

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

Color values

HEX#4E62B5
RGBrgb(78, 98, 181)
HSLhsl(228, 41%, 51%)
HSVhsv(228, 57%, 71%)
CMYKcmyk(56.9%, 45.9%, 0%, 29%)
CIE-LABlab(43.79, 17.50, -46.46)
CIE-LCHlch(43.79, 49.65, 290.64°)
OKLaboklab(52.18% 0.0023 -0.1324)
OKLCHoklch(52.18% 0.132 271)
XYZxyz(15.8473, 13.6901, 45.5145)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62B5 #B5A14E
analogous
#4E95B5 #4E62B5 #6D4EB5
triadic
#4E62B5 #B54E62 #62B54E
tetradic
#4E62B5 #B54E95 #B5A14E #4EB56D
square
#4E62B5 #B54E95 #B5A14E #4EB56D
split-complementary
#4E62B5 #B56D4E #95B54E
monochromatic
#283360 #3A4A8B #4E62B5 #7988C7 #A4AFD9

Accessibility & contrast

On white

5.62
#4E62B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4E62B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62B5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62B5#FFFFFF#000000##FFFFFF
##4E62B51.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6CB8
Deuteranopia (green-blind)
#2E63B3
Tritanopia (blue-blind)
#0C7483
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e62b5;
/* rgb */ color: rgb(78, 98, 181);
/* oklch */ color: oklch(52.2% 0.132 271.0);
Tailwind
colors: {
  custom: {
    50: '#888ecc',
    500: '#4e62b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e62b5;
$custom-light: #888ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62b5",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 181
  },
  "hsl": {
    "h": 228.35,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52183,
    "c": 0.13241,
    "h": 271
  },
  "luminance": 0.13691
}

Semantic roles & 50–950 ramp

primary
#4E62B5
secondary
#C6BD99
accent
#B957D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E62B5

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

Preview Lab → · Contrast checker → · Palette generator →

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