#5270DE#5270DE

#5270DE is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.0% C 0.171 H 269.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5270DE
RGBrgb(82, 112, 222)
HSLhsl(227, 68%, 60%)
HSVhsv(227, 63%, 87%)
CMYKcmyk(63.1%, 49.5%, 0%, 12.9%)
CIE-LABlab(50.28, 23.40, -59.57)
CIE-LCHlch(50.28, 64.00, 291.45°)
OKLaboklab(58% -0.0028 -0.1707)
OKLCHoklch(58% 0.171 269.1)
XYZxyz(22.4542, 18.6541, 71.5104)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5270DE #DEC052
analogous
#52B6DE #5270DE #7A52DE
triadic
#5270DE #DE5270 #70DE52
tetradic
#5270DE #DE52B6 #DEC052 #52DE7A
square
#5270DE #DE52B6 #DEC052 #52DE7A
split-complementary
#5270DE #DE7A52 #B6DE52
monochromatic
#1D3899 #274ACC #5270DE #859AE8 #B9C5F2

Accessibility & contrast

On white

4.44
#5270DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5270DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5270DE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5270DE#FFFFFF#000000##000000
##5270DE1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#347EE2
Deuteranopia (green-blind)
#0D72DC
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5270de;
/* rgb */ color: rgb(82, 112, 222);
/* oklch */ color: oklch(58.0% 0.171 269.1);
Tailwind
colors: {
  custom: {
    50: '#9098e9',
    500: '#5270de',
    950: '#000000',
  },
}
SCSS
$custom: #5270de;
$custom-light: #9098e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5270de",
  "rgb": {
    "r": 82,
    "g": 112,
    "b": 222
  },
  "hsl": {
    "h": 227.143,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57999,
    "c": 0.17069,
    "h": 269.1
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#5270DE
secondary
#E1D5AB
accent
#C63DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5270DE

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

Preview Lab → · Contrast checker → · Palette generator →

#5270DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva