#4E82DC#4E82DC

#4E82DC is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.4% C 0.148 H 260.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4E82DC
RGBrgb(78, 130, 220)
HSLhsl(218, 67%, 58%)
HSVhsv(218, 65%, 86%)
CMYKcmyk(64.5%, 40.9%, 0%, 13.7%)
CIE-LABlab(54.81, 10.96, -51.19)
CIE-LCHlch(54.81, 52.35, 282.09°)
OKLaboklab(61.38% -0.0241 -0.1459)
OKLCHoklch(61.38% 0.148 260.6)
XYZxyz(24.0382, 22.7500, 70.8206)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E82DC #DCA84E
analogous
#4EC9DC #4E82DC #614EDC
triadic
#4E82DC #DC4E82 #82DC4E
tetradic
#4E82DC #DC4EC9 #DCA84E #4EDC61
square
#4E82DC #DC4EC9 #DCA84E #4EDC61
split-complementary
#4E82DC #DC614E #C9DC4E
monochromatic
#1D4893 #2761C6 #4E82DC #81A6E6 #B4CAF0

Accessibility & contrast

On white

3.78
#4E82DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#4E82DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E82DC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E82DC#FFFFFF#000000##000000
##4E82DC1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#598AE0
Deuteranopia (green-blind)
#437DDA
Tritanopia (blue-blind)
#0097A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e82dc;
/* rgb */ color: rgb(78, 130, 220);
/* oklch */ color: oklch(61.4% 0.148 260.6);
Tailwind
colors: {
  custom: {
    50: '#8da5e7',
    500: '#4e82dc',
    950: '#000000',
  },
}
SCSS
$custom: #4e82dc;
$custom-light: #8da5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e82dc",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 218.028,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61384,
    "c": 0.14785,
    "h": 260.6
  },
  "luminance": 0.22752
}

Semantic roles & 50–950 ramp

primary
#4E82DC
secondary
#DFCAA7
accent
#AB3EEA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E82DC

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

Preview Lab → · Contrast checker → · Palette generator →

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