#4E7DCD#4E7DCD

#4E7DCD is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.4% C 0.133 H 260.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4E7DCD
RGBrgb(78, 125, 205)
HSLhsl(218, 56%, 55%)
HSVhsv(218, 62%, 80%)
CMYKcmyk(62%, 39%, 0%, 19.6%)
CIE-LABlab(52.61, 8.87, -46.22)
CIE-LCHlch(52.61, 47.07, 280.86°)
OKLaboklab(59.41% -0.0222 -0.1314)
OKLCHoklch(59.41% 0.133 260.4)
XYZxyz(21.4911, 20.6928, 60.6073)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DCD #CD9E4E
analogous
#4EBDCD #4E7DCD #5E4ECD
triadic
#4E7DCD #CD4E7D #7DCD4E
tetradic
#4E7DCD #CD4EBD #CD9E4E #4ECD5E
square
#4E7DCD #CD4EBD #CD9E4E #4ECD5E
split-complementary
#4E7DCD #CD5E4E #BDCD4E
monochromatic
#23457D #315FAD #4E7DCD #7EA0DA #ADC3E8

Accessibility & contrast

On white

4.09
#4E7DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4E7DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DCD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DCD#FFFFFF#000000##000000
##4E7DCD1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7dcd;
/* rgb */ color: rgb(78, 125, 205);
/* oklch */ color: oklch(59.4% 0.133 260.4);
Tailwind
colors: {
  custom: {
    50: '#8ba2dc',
    500: '#4e7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dcd;
$custom-light: #8ba2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dcd",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 217.795,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59414,
    "c": 0.13324,
    "h": 260.4
  },
  "luminance": 0.20695
}

Semantic roles & 50–950 ramp

primary
#4E7DCD
secondary
#D6C2A1
accent
#A749DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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