#4E81CD#4E81CD

#4E81CD is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.3% C 0.129 H 258.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4E81CD
RGBrgb(78, 129, 205)
HSLhsl(216, 56%, 55%)
HSVhsv(216, 62%, 80%)
CMYKcmyk(62%, 37.1%, 0%, 19.6%)
CIE-LABlab(53.74, 6.45, -44.44)
CIE-LCHlch(53.74, 44.91, 278.26°)
OKLaboklab(60.29% -0.0264 -0.1261)
OKLCHoklch(60.29% 0.129 258.2)
XYZxyz(22.0077, 21.7260, 60.7795)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81CD #CD9A4E
analogous
#4EC0CD #4E81CD #5B4ECD
triadic
#4E81CD #CD4E81 #81CD4E
tetradic
#4E81CD #CD4EC0 #CD9A4E #4ECD5B
square
#4E81CD #CD4EC0 #CD9A4E #4ECD5B
split-complementary
#4E81CD #CD5B4E #C0CD4E
monochromatic
#23477D #3163AD #4E81CD #7EA3DA #ADC5E8

Accessibility & contrast

On white

3.93
#4E81CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4E81CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81CD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81CD#FFFFFF#000000##000000
##4E81CD1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D0
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e81cd;
/* rgb */ color: rgb(78, 129, 205);
/* oklch */ color: oklch(60.3% 0.129 258.2);
Tailwind
colors: {
  custom: {
    50: '#8ba5dc',
    500: '#4e81cd',
    950: '#000000',
  },
}
SCSS
$custom: #4e81cd;
$custom-light: #8ba5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81cd",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 215.906,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60287,
    "c": 0.12885,
    "h": 258.2
  },
  "luminance": 0.21728
}

Semantic roles & 50–950 ramp

primary
#4E81CD
secondary
#D6C1A1
accent
#A349DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E81CD

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

Preview Lab → · Contrast checker → · Palette generator →

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