#4E7CD2#4E7CD2

#4E7CD2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.5% C 0.141 H 261.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4E7CD2
RGBrgb(78, 124, 210)
HSLhsl(219, 59%, 56%)
HSVhsv(219, 63%, 82%)
CMYKcmyk(62.9%, 41%, 0%, 17.6%)
CIE-LABlab(52.60, 11.19, -49.07)
CIE-LCHlch(52.60, 50.33, 282.84°)
OKLaboklab(59.5% -0.0201 -0.1397)
OKLCHoklch(59.5% 0.141 261.8)
XYZxyz(21.9783, 20.6861, 63.7949)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CD2 #D2A44E
analogous
#4EBED2 #4E7CD2 #624ED2
triadic
#4E7CD2 #D24E7C #7CD24E
tetradic
#4E7CD2 #D24EBE #D2A44E #4ED262
square
#4E7CD2 #D24EBE #D2A44E #4ED262
split-complementary
#4E7CD2 #D2624E #BED24E
monochromatic
#224484 #2E5DB5 #4E7CD2 #7FA0DE #B0C4EB

Accessibility & contrast

On white

4.09
#4E7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4E7CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CD2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CD2#FFFFFF#000000##000000
##4E7CD21.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5584D5
Deuteranopia (green-blind)
#4278D0
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7cd2;
/* rgb */ color: rgb(78, 124, 210);
/* oklch */ color: oklch(59.5% 0.141 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ba1e0',
    500: '#4e7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cd2;
$custom-light: #8ba1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cd2",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 219.091,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59497,
    "c": 0.14118,
    "h": 261.8
  },
  "luminance": 0.20688
}

Semantic roles & 50–950 ramp

primary
#4E7CD2
secondary
#D9C6A3
accent
#AC45E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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