#4E62B9#4E62B9

#4E62B9 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.4% C 0.138 H 271.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4E62B9
RGBrgb(78, 98, 185)
HSLhsl(229, 43%, 52%)
HSVhsv(229, 58%, 73%)
CMYKcmyk(57.8%, 47%, 0%, 27.5%)
CIE-LABlab(44.03, 18.85, -48.41)
CIE-LCHlch(44.03, 51.95, 291.27°)
OKLaboklab(52.45% 0.0029 -0.1381)
OKLCHoklch(52.45% 0.138 271.2)
XYZxyz(16.2636, 13.8566, 47.7071)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62B9 #B9A54E
analogous
#4E98B9 #4E62B9 #704EB9
triadic
#4E62B9 #B94E62 #62B94E
tetradic
#4E62B9 #B94E98 #B9A54E #4EB970
square
#4E62B9 #B94E98 #B9A54E #4EB970
split-complementary
#4E62B9 #B9704E #98B94E
monochromatic
#283365 #394A91 #4E62B9 #7A89CA #A6B0DC

Accessibility & contrast

On white

5.57
#4E62B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4E62B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62B9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62B9#FFFFFF#000000##FFFFFF
##4E62B91.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396DBC
Deuteranopia (green-blind)
#2964B7
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e62b9;
/* rgb */ color: rgb(78, 98, 185);
/* oklch */ color: oklch(52.4% 0.138 271.2);
Tailwind
colors: {
  custom: {
    50: '#888ece',
    500: '#4e62b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e62b9;
$custom-light: #888ece;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62b9",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 185
  },
  "hsl": {
    "h": 228.785,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52445,
    "c": 0.13814,
    "h": 271.2
  },
  "luminance": 0.13858
}

Semantic roles & 50–950 ramp

primary
#4E62B9
secondary
#C9C09A
accent
#BB55D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E62B9

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

Preview Lab → · Contrast checker → · Palette generator →

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