#5269D7#5269D7

#5269D7 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.1% C 0.170 H 271.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5269D7
RGBrgb(82, 105, 215)
HSLhsl(230, 62%, 58%)
HSVhsv(230, 62%, 84%)
CMYKcmyk(61.9%, 51.2%, 0%, 15.7%)
CIE-LABlab(48.01, 25.37, -59.26)
CIE-LCHlch(48.01, 64.47, 293.18°)
OKLaboklab(56.14% 0.0032 -0.1698)
OKLCHoklch(56.14% 0.17 271.1)
XYZxyz(20.7929, 16.8015, 66.4241)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5269D7 #D7C052
analogous
#52ABD7 #5269D7 #7D52D7
triadic
#5269D7 #D75269 #69D752
tetradic
#5269D7 #D752AB #D7C052 #52D77D
square
#5269D7 #D752AB #D7C052 #52D77D
split-complementary
#5269D7 #D77D52 #ABD752
monochromatic
#21348E #2C46C0 #5269D7 #8494E2 #B5BFEE

Accessibility & contrast

On white

4.82
#5269D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5269D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5269D7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5269D7#FFFFFF#000000##FFFFFF
##5269D71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2978DB
Deuteranopia (green-blind)
#006CD5
Tritanopia (blue-blind)
#008396
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5269d7;
/* rgb */ color: rgb(82, 105, 215);
/* oklch */ color: oklch(56.1% 0.170 271.1);
Tailwind
colors: {
  custom: {
    50: '#8f93e4',
    500: '#5269d7',
    950: '#000000',
  },
}
SCSS
$custom: #5269d7;
$custom-light: #8f93e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5269d7",
  "rgb": {
    "r": 82,
    "g": 105,
    "b": 215
  },
  "hsl": {
    "h": 229.624,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.16988,
    "h": 271.1
  },
  "luminance": 0.16803
}

Semantic roles & 50–950 ramp

primary
#5269D7
secondary
#DDD4A8
accent
#C942E6
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #5269D7

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

Preview Lab → · Contrast checker → · Palette generator →

#5269D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva