#4E7DCE#4E7DCE

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

Color values

HEX#4E7DCE
RGBrgb(78, 125, 206)
HSLhsl(218, 57%, 56%)
HSVhsv(218, 62%, 81%)
CMYKcmyk(62.1%, 39.3%, 0%, 19.2%)
CIE-LABlab(52.67, 9.21, -46.71)
CIE-LCHlch(52.67, 47.61, 281.16°)
OKLaboklab(59.47% -0.022 -0.1328)
OKLCHoklch(59.47% 0.135 260.6)
XYZxyz(21.6122, 20.7412, 61.2451)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DCE #CE9F4E
analogous
#4EBDCE #4E7DCE #5F4ECE
triadic
#4E7DCE #CE4E7D #7DCE4E
tetradic
#4E7DCE #CE4EBD #CE9F4E #4ECE5F
square
#4E7DCE #CE4EBD #CE9F4E #4ECE5F
split-complementary
#4E7DCE #CE5F4E #BDCE4E
monochromatic
#23457F #305FAE #4E7DCE #7EA0DB #AEC3E9

Accessibility & contrast

On white

4.08
#4E7DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4E7DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DCE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DCE#FFFFFF#000000##000000
##4E7DCE1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D1
Deuteranopia (green-blind)
#4778CC
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7dce;
/* rgb */ color: rgb(78, 125, 206);
/* oklch */ color: oklch(59.5% 0.135 260.6);
Tailwind
colors: {
  custom: {
    50: '#8ba2dd',
    500: '#4e7dce',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dce;
$custom-light: #8ba2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dce",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 217.969,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59473,
    "c": 0.1346,
    "h": 260.6
  },
  "luminance": 0.20743
}

Semantic roles & 50–950 ramp

primary
#4E7DCE
secondary
#D7C3A1
accent
#A848E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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