#4E7BDC#4E7BDC

#4E7BDC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.156 H 263.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4E7BDC
RGBrgb(78, 123, 220)
HSLhsl(221, 67%, 58%)
HSVhsv(221, 65%, 86%)
CMYKcmyk(64.5%, 44.1%, 0%, 13.7%)
CIE-LABlab(52.90, 15.24, -54.26)
CIE-LCHlch(52.90, 56.36, 285.69°)
OKLaboklab(59.9% -0.0173 -0.155)
OKLCHoklch(59.9% 0.156 263.6)
XYZxyz(23.1386, 20.9507, 70.5208)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BDC #DCAF4E
analogous
#4EC2DC #4E7BDC #684EDC
triadic
#4E7BDC #DC4E7B #7BDC4E
tetradic
#4E7BDC #DC4EC2 #DCAF4E #4EDC68
square
#4E7BDC #DC4EC2 #DCAF4E #4EDC68
split-complementary
#4E7BDC #DC684E #C2DC4E
monochromatic
#1D4293 #2759C6 #4E7BDC #81A1E6 #B4C7F0

Accessibility & contrast

On white

4.05
#4E7BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4E7BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BDC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BDC#FFFFFF#000000##000000
##4E7BDC1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D85E0
Deuteranopia (green-blind)
#3578DA
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7bdc;
/* rgb */ color: rgb(78, 123, 220);
/* oklch */ color: oklch(59.9% 0.156 263.6);
Tailwind
colors: {
  custom: {
    50: '#8da0e7',
    500: '#4e7bdc',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bdc;
$custom-light: #8da0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bdc",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 220.986,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.15593,
    "h": 263.6
  },
  "luminance": 0.20953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E7BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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