#4E7DD1#4E7DD1

#4E7DD1 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.7% C 0.139 H 261.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4E7DD1
RGBrgb(78, 125, 209)
HSLhsl(218, 59%, 56%)
HSVhsv(218, 63%, 82%)
CMYKcmyk(62.7%, 40.2%, 0%, 18%)
CIE-LABlab(52.83, 10.23, -48.15)
CIE-LCHlch(52.83, 49.23, 282.00°)
OKLaboklab(59.65% -0.0213 -0.137)
OKLCHoklch(59.65% 0.139 261.2)
XYZxyz(21.9801, 20.8884, 63.1828)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DD1 #D1A24E
analogous
#4EBFD1 #4E7DD1 #614ED1
triadic
#4E7DD1 #D14E7D #7DD14E
tetradic
#4E7DD1 #D14EBF #D1A24E #4ED161
square
#4E7DD1 #D14EBF #D1A24E #4ED161
split-complementary
#4E7DD1 #D1614E #BFD14E
monochromatic
#224583 #2F5EB3 #4E7DD1 #7FA1DE #AFC4EA

Accessibility & contrast

On white

4.06
#4E7DD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4E7DD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DD1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DD1#FFFFFF#000000##000000
##4E7DD11.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5885D4
Deuteranopia (green-blind)
#4578CF
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7dd1;
/* rgb */ color: rgb(78, 125, 209);
/* oklch */ color: oklch(59.7% 0.139 261.2);
Tailwind
colors: {
  custom: {
    50: '#8ba2df',
    500: '#4e7dd1',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dd1;
$custom-light: #8ba2df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dd1",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 209
  },
  "hsl": {
    "h": 218.473,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.13867,
    "h": 261.2
  },
  "luminance": 0.2089
}

Semantic roles & 50–950 ramp

primary
#4E7DD1
secondary
#D8C5A2
accent
#AA46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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