#4E7AD2#4E7AD2

#4E7AD2 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.1% C 0.143 H 262.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E7AD2
RGBrgb(78, 122, 210)
HSLhsl(220, 59%, 56%)
HSVhsv(220, 63%, 82%)
CMYKcmyk(62.9%, 41.9%, 0%, 17.6%)
CIE-LABlab(52.05, 12.41, -49.95)
CIE-LCHlch(52.05, 51.47, 283.95°)
OKLaboklab(59.07% -0.0181 -0.1423)
OKLCHoklch(59.07% 0.143 262.8)
XYZxyz(21.7302, 20.1899, 63.7122)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AD2 #D2A64E
analogous
#4EBCD2 #4E7AD2 #644ED2
triadic
#4E7AD2 #D24E7A #7AD24E
tetradic
#4E7AD2 #D24EBC #D2A64E #4ED264
square
#4E7AD2 #D24EBC #D2A64E #4ED264
split-complementary
#4E7AD2 #D2644E #BCD24E
monochromatic
#224284 #2E5BB5 #4E7AD2 #7F9FDE #B0C3EB

Accessibility & contrast

On white

4.17
#4E7AD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4E7AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AD2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AD2#FFFFFF#000000##000000
##4E7AD21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5283D5
Deuteranopia (green-blind)
#3E76D0
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7ad2;
/* rgb */ color: rgb(78, 122, 210);
/* oklch */ color: oklch(59.1% 0.143 262.8);
Tailwind
colors: {
  custom: {
    50: '#8ba0e0',
    500: '#4e7ad2',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ad2;
$custom-light: #8ba0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ad2",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 210
  },
  "hsl": {
    "h": 220,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5907,
    "c": 0.14349,
    "h": 262.8
  },
  "luminance": 0.20192
}

Semantic roles & 50–950 ramp

primary
#4E7AD2
secondary
#D9C7A3
accent
#AE45E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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