#5282E3#5282E3

#5282E3 is a mid, vivid blue. Relative luminance 0.233; OKLCH L 62.0% C 0.156 H 262.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5282E3
RGBrgb(82, 130, 227)
HSLhsl(220, 72%, 61%)
HSVhsv(220, 64%, 89%)
CMYKcmyk(63.9%, 42.7%, 0%, 11%)
CIE-LABlab(55.38, 14.05, -54.20)
CIE-LCHlch(55.38, 55.99, 284.53°)
OKLaboklab(62% -0.0194 -0.1546)
OKLCHoklch(62% 0.156 262.8)
XYZxyz(25.3226, 23.3028, 75.8215)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5282E3 #E3B352
analogous
#52CAE3 #5282E3 #6A52E3
triadic
#5282E3 #E35282 #82E352
tetradic
#5282E3 #E352CA #E3B352 #52E36A
square
#5282E3 #E352CA #E3B352 #52E36A
split-complementary
#5282E3 #E36A52 #CAE352
monochromatic
#1A47A1 #235ED5 #5282E3 #87A8EC #BBCEF4

Accessibility & contrast

On white

3.71
#5282E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5282E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5282E3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5282E3#FFFFFF#000000##000000
##5282E31.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#558CE7
Deuteranopia (green-blind)
#3E7EE1
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5282e3;
/* rgb */ color: rgb(82, 130, 227);
/* oklch */ color: oklch(62.0% 0.156 262.8);
Tailwind
colors: {
  custom: {
    50: '#90a5ec',
    500: '#5282e3',
    950: '#000000',
  },
}
SCSS
$custom: #5282e3;
$custom-light: #90a5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5282e3",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 227
  },
  "hsl": {
    "h": 220.138,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61999,
    "c": 0.15584,
    "h": 262.8
  },
  "luminance": 0.23305
}

Semantic roles & 50–950 ramp

primary
#5282E3
secondary
#E4D2AD
accent
#9411D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5282E3

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

Preview Lab → · Contrast checker → · Palette generator →

#5282E3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva