#4E62B0#4E62B0

#4E62B0 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.9% C 0.125 H 270.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4E62B0
RGBrgb(78, 98, 176)
HSLhsl(228, 39%, 50%)
HSVhsv(228, 56%, 69%)
CMYKcmyk(55.7%, 44.3%, 0%, 31%)
CIE-LABlab(43.49, 15.82, -44.01)
CIE-LCHlch(43.49, 46.77, 289.78°)
OKLaboklab(51.86% 0.0015 -0.1252)
OKLCHoklch(51.86% 0.125 270.7)
XYZxyz(15.3435, 13.4885, 42.8609)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62B0 #B09C4E
analogous
#4E93B0 #4E62B0 #6B4EB0
triadic
#4E62B0 #B04E62 #62B04E
tetradic
#4E62B0 #B04E93 #B09C4E #4EB06B
square
#4E62B0 #B04E93 #B09C4E #4EB06B
split-complementary
#4E62B0 #B06B4E #93B04E
monochromatic
#28335B #3B4A86 #4E62B0 #7887C3 #A2ADD6

Accessibility & contrast

On white

5.68
#4E62B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4E62B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62B0
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62B0#FFFFFF#000000##FFFFFF
##4E62B01.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB3
Deuteranopia (green-blind)
#3463AE
Tritanopia (blue-blind)
#177380
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e62b0;
/* rgb */ color: rgb(78, 98, 176);
/* oklch */ color: oklch(51.9% 0.125 270.7);
Tailwind
colors: {
  custom: {
    50: '#878ec8',
    500: '#4e62b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e62b0;
$custom-light: #878ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62b0",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 176
  },
  "hsl": {
    "h": 227.755,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51862,
    "c": 0.12519,
    "h": 270.7
  },
  "luminance": 0.1349
}

Semantic roles & 50–950 ramp

primary
#4E62B0
secondary
#C3BA97
accent
#B759CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E62B0

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

Preview Lab → · Contrast checker → · Palette generator →

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