#5270DA#5270DA

#5270DA is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.7% C 0.165 H 268.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5270DA
RGBrgb(82, 112, 218)
HSLhsl(227, 65%, 59%)
HSVhsv(227, 62%, 85%)
CMYKcmyk(62.4%, 48.6%, 0%, 14.5%)
CIE-LABlab(50.03, 22.04, -57.71)
CIE-LCHlch(50.03, 61.78, 290.90°)
OKLaboklab(57.73% -0.0033 -0.1652)
OKLCHoklch(57.73% 0.165 268.9)
XYZxyz(21.9244, 18.4422, 68.7204)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5270DA #DABC52
analogous
#52B4DA #5270DA #7852DA
triadic
#5270DA #DA5270 #70DA52
tetradic
#5270DA #DA52B4 #DABC52 #52DA78
square
#5270DA #DA52B4 #DABC52 #52DA78
split-complementary
#5270DA #DA7852 #B4DA52
monochromatic
#1F3992 #2A4CC5 #5270DA #849AE5 #B7C3F0

Accessibility & contrast

On white

4.48
#5270DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5270DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5270DA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5270DA#FFFFFF#000000##000000
##5270DA1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#387DDE
Deuteranopia (green-blind)
#1A71D8
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5270da;
/* rgb */ color: rgb(82, 112, 218);
/* oklch */ color: oklch(57.7% 0.165 268.9);
Tailwind
colors: {
  custom: {
    50: '#8f98e6',
    500: '#5270da',
    950: '#000000',
  },
}
SCSS
$custom: #5270da;
$custom-light: #8f98e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5270da",
  "rgb": {
    "r": 82,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 226.765,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57727,
    "c": 0.16524,
    "h": 268.9
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

primary
#5270DA
secondary
#DFD3A9
accent
#C340E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5270DA

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

Preview Lab → · Contrast checker → · Palette generator →

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