#4E7CCE#4E7CCE

#4E7CCE is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.3% C 0.136 H 261.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4E7CCE
RGBrgb(78, 124, 206)
HSLhsl(218, 57%, 56%)
HSVhsv(218, 62%, 81%)
CMYKcmyk(62.1%, 39.8%, 0%, 19.2%)
CIE-LABlab(52.39, 9.82, -47.15)
CIE-LCHlch(52.39, 48.16, 281.76°)
OKLaboklab(59.26% -0.0209 -0.1341)
OKLCHoklch(59.26% 0.136 261.1)
XYZxyz(21.4862, 20.4893, 61.2031)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CCE #CEA04E
analogous
#4EBCCE #4E7CCE #604ECE
triadic
#4E7CCE #CE4E7C #7CCE4E
tetradic
#4E7CCE #CE4EBC #CEA04E #4ECE60
square
#4E7CCE #CE4EBC #CEA04E #4ECE60
split-complementary
#4E7CCE #CE604E #BCCE4E
monochromatic
#23447F #305EAE #4E7CCE #7E9FDB #AEC3E9

Accessibility & contrast

On white

4.12
#4E7CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4E7CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CCE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CCE#FFFFFF#000000##000000
##4E7CCE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883D1
Deuteranopia (green-blind)
#4678CC
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7cce;
/* rgb */ color: rgb(78, 124, 206);
/* oklch */ color: oklch(59.3% 0.136 261.1);
Tailwind
colors: {
  custom: {
    50: '#8ba1dd',
    500: '#4e7cce',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cce;
$custom-light: #8ba1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cce",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 218.438,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59257,
    "c": 0.13573,
    "h": 261.1
  },
  "luminance": 0.20491
}

Semantic roles & 50–950 ramp

primary
#4E7CCE
secondary
#D7C3A1
accent
#A948E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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