#4682E4#4682E4

#4682E4 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.5% C 0.161 H 259.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4682E4
RGBrgb(70, 130, 228)
HSLhsl(217, 75%, 58%)
HSVhsv(217, 69%, 89%)
CMYKcmyk(69.3%, 43%, 0%, 10.6%)
CIE-LABlab(54.93, 12.49, -55.50)
CIE-LCHlch(54.93, 56.89, 282.68°)
OKLaboklab(61.53% -0.0288 -0.1587)
OKLCHoklch(61.53% 0.161 259.7)
XYZxyz(24.5070, 22.8662, 76.5058)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4682E4 #E4A846
analogous
#46D1E4 #4682E4 #5946E4
triadic
#4682E4 #E44682 #82E446
tetradic
#4682E4 #E446D1 #E4A846 #46E459
square
#4682E4 #E446D1 #E4A846 #46E459
split-complementary
#4682E4 #E45946 #D1E446
monochromatic
#164899 #1E61CF #4682E4 #7BA6EC #B1CAF4

Accessibility & contrast

On white

3.77
#4682E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#4682E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4682E4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4682E4#FFFFFF#000000##000000
##4682E41.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#528BE8
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#0099A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4682e4;
/* rgb */ color: rgb(70, 130, 228);
/* oklch */ color: oklch(61.5% 0.161 259.7);
Tailwind
colors: {
  custom: {
    50: '#8ba5ed',
    500: '#4682e4',
    950: '#000000',
  },
}
SCSS
$custom: #4682e4;
$custom-light: #8ba5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4682e4",
  "rgb": {
    "r": 70,
    "g": 130,
    "b": 228
  },
  "hsl": {
    "h": 217.215,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61532,
    "c": 0.16125,
    "h": 259.7
  },
  "luminance": 0.22869
}

Semantic roles & 50–950 ramp

primary
#4682E4
secondary
#E2CAA4
accent
#AA37F1
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4682E4

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

Preview Lab → · Contrast checker → · Palette generator →

#4682E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva