#4E82CD#4E82CD

#4E82CD is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.5% C 0.128 H 257.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4E82CD
RGBrgb(78, 130, 205)
HSLhsl(215, 56%, 55%)
HSVhsv(215, 62%, 80%)
CMYKcmyk(62%, 36.6%, 0%, 19.6%)
CIE-LABlab(54.02, 5.85, -44.00)
CIE-LCHlch(54.02, 44.38, 277.57°)
OKLaboklab(60.51% -0.0274 -0.1248)
OKLCHoklch(60.51% 0.128 257.6)
XYZxyz(22.1400, 21.9907, 60.8236)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E82CD #CD994E
analogous
#4EC1CD #4E82CD #594ECD
triadic
#4E82CD #CD4E82 #82CD4E
tetradic
#4E82CD #CD4EC1 #CD994E #4ECD59
square
#4E82CD #CD4EC1 #CD994E #4ECD59
split-complementary
#4E82CD #CD594E #C1CD4E
monochromatic
#23487D #3164AD #4E82CD #7EA4DA #ADC5E8

Accessibility & contrast

On white

3.89
#4E82CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4E82CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E82CD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E82CD#FFFFFF#000000##000000
##4E82CD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6288D0
Deuteranopia (green-blind)
#507CCB
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e82cd;
/* rgb */ color: rgb(78, 130, 205);
/* oklch */ color: oklch(60.5% 0.128 257.6);
Tailwind
colors: {
  custom: {
    50: '#8ba5dc',
    500: '#4e82cd',
    950: '#000000',
  },
}
SCSS
$custom: #4e82cd;
$custom-light: #8ba5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e82cd",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 205
  },
  "hsl": {
    "h": 215.433,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60506,
    "c": 0.12778,
    "h": 257.6
  },
  "luminance": 0.21993
}

Semantic roles & 50–950 ramp

primary
#4E82CD
secondary
#D6C0A1
accent
#A249DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E82CD

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

Preview Lab → · Contrast checker → · Palette generator →

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