#4E82DF#4E82DF

#4E82DF is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.6% C 0.152 H 261.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4E82DF
RGBrgb(78, 130, 223)
HSLhsl(218, 69%, 59%)
HSVhsv(218, 65%, 87%)
CMYKcmyk(65%, 41.7%, 0%, 12.5%)
CIE-LABlab(54.98, 12.00, -52.61)
CIE-LCHlch(54.98, 53.96, 282.85°)
OKLaboklab(61.57% -0.0235 -0.15)
OKLCHoklch(61.57% 0.152 261.1)
XYZxyz(24.4391, 22.9103, 72.9319)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E82DF #DFAB4E
analogous
#4ECADF #4E82DF #634EDF
triadic
#4E82DF #DF4E82 #82DF4E
tetradic
#4E82DF #DF4ECA #DFAB4E #4EDF63
square
#4E82DF #DF4ECA #DFAB4E #4EDF63
split-complementary
#4E82DF #DF634E #CADF4E
monochromatic
#1B4897 #2560CB #4E82DF #82A7E8 #B6CBF2

Accessibility & contrast

On white

3.76
#4E82DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#4E82DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E82DF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E82DF#FFFFFF#000000##000000
##4E82DF1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#407DDD
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4e82df;
/* rgb */ color: rgb(78, 130, 223);
/* oklch */ color: oklch(61.6% 0.152 261.1);
Tailwind
colors: {
  custom: {
    50: '#8da5e9',
    500: '#4e82df',
    950: '#000000',
  },
}
SCSS
$custom: #4e82df;
$custom-light: #8da5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e82df",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 218.483,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61566,
    "c": 0.15187,
    "h": 261.1
  },
  "luminance": 0.22913
}

Semantic roles & 50–950 ramp

primary
#4E82DF
secondary
#E1CCA8
accent
#AD3CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E82DF

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

Preview Lab → · Contrast checker → · Palette generator →

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