#4E7ACD#4E7ACD

#4E7ACD is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.137 H 262.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4E7ACD
RGBrgb(78, 122, 205)
HSLhsl(219, 56%, 55%)
HSVhsv(219, 62%, 80%)
CMYKcmyk(62%, 40.5%, 0%, 19.6%)
CIE-LABlab(51.77, 10.70, -47.55)
CIE-LCHlch(51.77, 48.74, 282.68°)
OKLaboklab(58.77% -0.0191 -0.1353)
OKLCHoklch(58.77% 0.137 262)
XYZxyz(21.1170, 19.9446, 60.4826)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ACD #CDA14E
analogous
#4EB9CD #4E7ACD #624ECD
triadic
#4E7ACD #CD4E7A #7ACD4E
tetradic
#4E7ACD #CD4EB9 #CDA14E #4ECD62
square
#4E7ACD #CD4EB9 #CDA14E #4ECD62
split-complementary
#4E7ACD #CD624E #B9CD4E
monochromatic
#23437D #315CAD #4E7ACD #7E9EDA #ADC2E8

Accessibility & contrast

On white

4.21
#4E7ACD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4E7ACD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ACD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ACD#FFFFFF#000000##000000
##4E7ACD1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e7acd;
/* rgb */ color: rgb(78, 122, 205);
/* oklch */ color: oklch(58.8% 0.137 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ba0dd',
    500: '#4e7acd',
    950: '#000000',
  },
}
SCSS
$custom: #4e7acd;
$custom-light: #8ba0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7acd",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 205
  },
  "hsl": {
    "h": 219.213,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58766,
    "c": 0.13665,
    "h": 262
  },
  "luminance": 0.19947
}

Semantic roles & 50–950 ramp

primary
#4E7ACD
secondary
#D6C4A1
accent
#AB49DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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