#4E7FCE#4E7FCE

#4E7FCE is a mid, vivid blue. Relative luminance 0.213; OKLCH L 59.9% C 0.132 H 259.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4E7FCE
RGBrgb(78, 127, 206)
HSLhsl(217, 57%, 56%)
HSVhsv(217, 62%, 81%)
CMYKcmyk(62.1%, 38.3%, 0%, 19.2%)
CIE-LABlab(53.23, 8.00, -45.82)
CIE-LCHlch(53.23, 46.51, 279.90°)
OKLaboklab(59.91% -0.024 -0.1302)
OKLCHoklch(59.91% 0.132 259.5)
XYZxyz(21.8679, 21.2527, 61.3303)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FCE #CE9D4E
analogous
#4EBFCE #4E7FCE #5D4ECE
triadic
#4E7FCE #CE4E7F #7FCE4E
tetradic
#4E7FCE #CE4EBF #CE9D4E #4ECE5D
square
#4E7FCE #CE4EBF #CE9D4E #4ECE5D
split-complementary
#4E7FCE #CE5D4E #BFCE4E
monochromatic
#23467F #3061AE #4E7FCE #7EA2DB #AEC4E9

Accessibility & contrast

On white

4.00
#4E7FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4E7FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FCE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FCE#FFFFFF#000000##000000
##4E7FCE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D1
Deuteranopia (green-blind)
#4B7ACC
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7fce;
/* rgb */ color: rgb(78, 127, 206);
/* oklch */ color: oklch(59.9% 0.132 259.5);
Tailwind
colors: {
  custom: {
    50: '#8ba3dd',
    500: '#4e7fce',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fce;
$custom-light: #8ba3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fce",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 217.031,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59907,
    "c": 0.13236,
    "h": 259.5
  },
  "luminance": 0.21255
}

Semantic roles & 50–950 ramp

primary
#4E7FCE
secondary
#D7C2A1
accent
#A648E0
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E7FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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