#4E7CDC#4E7CDC

#4E7CDC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.1% C 0.155 H 263.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4E7CDC
RGBrgb(78, 124, 220)
HSLhsl(221, 67%, 58%)
HSVhsv(221, 65%, 86%)
CMYKcmyk(64.5%, 43.6%, 0%, 13.7%)
CIE-LABlab(53.17, 14.63, -53.82)
CIE-LCHlch(53.17, 55.77, 285.20°)
OKLaboklab(60.11% -0.0182 -0.1537)
OKLCHoklch(60.11% 0.155 263.2)
XYZxyz(23.2633, 21.2001, 70.5623)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CDC #DCAE4E
analogous
#4EC3DC #4E7CDC #674EDC
triadic
#4E7CDC #DC4E7C #7CDC4E
tetradic
#4E7CDC #DC4EC3 #DCAE4E #4EDC67
square
#4E7CDC #DC4EC3 #DCAE4E #4EDC67
split-complementary
#4E7CDC #DC674E #C3DC4E
monochromatic
#1D4393 #275AC6 #4E7CDC #81A2E6 #B4C8F0

Accessibility & contrast

On white

4.01
#4E7CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4E7CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CDC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CDC#FFFFFF#000000##000000
##4E7CDC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E0
Deuteranopia (green-blind)
#3779DA
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7cdc;
/* rgb */ color: rgb(78, 124, 220);
/* oklch */ color: oklch(60.1% 0.155 263.2);
Tailwind
colors: {
  custom: {
    50: '#8da1e7',
    500: '#4e7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cdc;
$custom-light: #8da1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cdc",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 220.563,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60114,
    "c": 0.15475,
    "h": 263.2
  },
  "luminance": 0.21202
}

Semantic roles & 50–950 ramp

primary
#4E7CDC
secondary
#DFCDA7
accent
#B23EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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