#4E82D4#4E82D4

#4E82D4 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 60.9% C 0.137 H 259.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4E82D4
RGBrgb(78, 130, 212)
HSLhsl(217, 61%, 57%)
HSVhsv(217, 63%, 83%)
CMYKcmyk(63.2%, 38.7%, 0%, 16.9%)
CIE-LABlab(54.38, 8.23, -47.38)
CIE-LCHlch(54.38, 48.08, 279.85°)
OKLaboklab(60.91% -0.0258 -0.1347)
OKLCHoklch(60.91% 0.137 259.2)
XYZxyz(23.0040, 22.3363, 65.3736)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E82D4 #D4A04E
analogous
#4EC5D4 #4E82D4 #5D4ED4
triadic
#4E82D4 #D44E82 #82D44E
tetradic
#4E82D4 #D44EC5 #D4A04E #4ED45D
square
#4E82D4 #D44EC5 #D4A04E #4ED45D
split-complementary
#4E82D4 #D45D4E #C5D44E
monochromatic
#214887 #2D63B8 #4E82D4 #7FA5E0 #B0C8EC

Accessibility & contrast

On white

3.84
#4E82D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4E82D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E82D4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E82D4#FFFFFF#000000##000000
##4E82D41.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E89D7
Deuteranopia (green-blind)
#4B7CD2
Tritanopia (blue-blind)
#0095A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e82d4;
/* rgb */ color: rgb(78, 130, 212);
/* oklch */ color: oklch(60.9% 0.137 259.2);
Tailwind
colors: {
  custom: {
    50: '#8ca5e1',
    500: '#4e82d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e82d4;
$custom-light: #8ca5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e82d4",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 212
  },
  "hsl": {
    "h": 216.716,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60909,
    "c": 0.13714,
    "h": 259.2
  },
  "luminance": 0.22338
}

Semantic roles & 50–950 ramp

primary
#4E82D4
secondary
#DAC5A4
accent
#A644E4
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E82D4

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

Preview Lab → · Contrast checker → · Palette generator →

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