#4E7CCD#4E7CCD

#4E7CCD is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.2% C 0.134 H 260.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4E7CCD
RGBrgb(78, 124, 205)
HSLhsl(218, 56%, 55%)
HSVhsv(218, 62%, 80%)
CMYKcmyk(62%, 39.5%, 0%, 19.6%)
CIE-LABlab(52.33, 9.48, -46.67)
CIE-LCHlch(52.33, 47.62, 281.48°)
OKLaboklab(59.2% -0.0211 -0.1327)
OKLCHoklch(59.2% 0.134 260.9)
XYZxyz(21.3651, 20.4408, 60.5653)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CCD #CD9F4E
analogous
#4EBBCD #4E7CCD #604ECD
triadic
#4E7CCD #CD4E7C #7CCD4E
tetradic
#4E7CCD #CD4EBB #CD9F4E #4ECD60
square
#4E7CCD #CD4EBB #CD9F4E #4ECD60
split-complementary
#4E7CCD #CD604E #BBCD4E
monochromatic
#23447D #315EAD #4E7CCD #7E9FDA #ADC3E8

Accessibility & contrast

On white

4.13
#4E7CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4E7CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CCD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CCD#FFFFFF#000000##000000
##4E7CCD1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883D0
Deuteranopia (green-blind)
#4777CB
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7ccd;
/* rgb */ color: rgb(78, 124, 205);
/* oklch */ color: oklch(59.2% 0.134 260.9);
Tailwind
colors: {
  custom: {
    50: '#8ba1dd',
    500: '#4e7ccd',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ccd;
$custom-light: #8ba1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ccd",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 218.268,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59198,
    "c": 0.13437,
    "h": 260.9
  },
  "luminance": 0.20443
}

Semantic roles & 50–950 ramp

primary
#4E7CCD
secondary
#D6C3A1
accent
#A949DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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