#5268DF#5268DF

#5268DF is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.5% C 0.182 H 271.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5268DF
RGBrgb(82, 104, 223)
HSLhsl(231, 69%, 60%)
HSVhsv(231, 63%, 87%)
CMYKcmyk(63.2%, 53.4%, 0%, 12.5%)
CIE-LABlab(48.29, 28.71, -63.35)
CIE-LCHlch(48.29, 69.56, 294.38°)
OKLaboklab(56.51% 0.0047 -0.1819)
OKLCHoklch(56.51% 0.182 271.5)
XYZxyz(21.7448, 17.0203, 71.9371)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5268DF #DFC952
analogous
#52AFDF #5268DF #8252DF
triadic
#5268DF #DF5268 #68DF52
tetradic
#5268DF #DF52AF #DFC952 #52DF82
square
#5268DF #DF52AF #DFC952 #52DF82
split-complementary
#5268DF #DF8252 #AFDF52
monochromatic
#1D309A #2640CE #5268DF #8695E9 #B9C2F2

Accessibility & contrast

On white

4.77
#5268DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5268DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5268DF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5268DF#FFFFFF#000000##FFFFFF
##5268DF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1579E3
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#008499
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5268df;
/* rgb */ color: rgb(82, 104, 223);
/* oklch */ color: oklch(56.5% 0.182 271.5);
Tailwind
colors: {
  custom: {
    50: '#9092ea',
    500: '#5268df',
    950: '#000000',
  },
}
SCSS
$custom: #5268df;
$custom-light: #9092ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5268df",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 230.638,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56514,
    "c": 0.18196,
    "h": 271.5
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#5268DF
secondary
#E2D9AB
accent
#D03CEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5268DF

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

Preview Lab → · Contrast checker → · Palette generator →

#5268DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva