#4E62B3#4E62B3

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

Color values

HEX#4E62B3
RGBrgb(78, 98, 179)
HSLhsl(228, 40%, 50%)
HSVhsv(228, 56%, 70%)
CMYKcmyk(56.4%, 45.3%, 0%, 29.8%)
CIE-LABlab(43.67, 16.83, -45.48)
CIE-LCHlch(43.67, 48.50, 290.31°)
OKLaboklab(52.05% 0.002 -0.1295)
OKLCHoklch(52.05% 0.13 270.9)
XYZxyz(15.6436, 13.6086, 44.4415)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62B3 #B39F4E
analogous
#4E94B3 #4E62B3 #6C4EB3
triadic
#4E62B3 #B34E62 #62B34E
tetradic
#4E62B3 #B34E94 #B39F4E #4EB36C
square
#4E62B3 #B34E94 #B39F4E #4EB36C
split-complementary
#4E62B3 #B36C4E #94B34E
monochromatic
#28335E #3B4A89 #4E62B3 #7988C5 #A4AED8

Accessibility & contrast

On white

5.64
#4E62B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4E62B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62B3
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62B3#FFFFFF#000000##FFFFFF
##4E62B31.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB6
Deuteranopia (green-blind)
#3163B1
Tritanopia (blue-blind)
#117482
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e62b3;
/* rgb */ color: rgb(78, 98, 179);
/* oklch */ color: oklch(52.1% 0.130 270.9);
Tailwind
colors: {
  custom: {
    50: '#878eca',
    500: '#4e62b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e62b3;
$custom-light: #878eca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62b3",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 228.119,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52054,
    "c": 0.12953,
    "h": 270.9
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#4E62B3
secondary
#C5BC98
accent
#B858D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E62B3

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

Preview Lab → · Contrast checker → · Palette generator →

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