#5268DA#5268DA

#5268DA is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.2% C 0.175 H 271.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5268DA
RGBrgb(82, 104, 218)
HSLhsl(230, 65%, 59%)
HSVhsv(230, 62%, 85%)
CMYKcmyk(62.4%, 52.3%, 0%, 14.5%)
CIE-LABlab(47.95, 27.01, -61.06)
CIE-LCHlch(47.95, 66.77, 293.86°)
OKLaboklab(56.15% 0.0044 -0.1752)
OKLCHoklch(56.15% 0.175 271.4)
XYZxyz(21.0806, 16.7546, 68.4391)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5268DA #DAC452
analogous
#52ACDA #5268DA #8052DA
triadic
#5268DA #DA5268 #68DA52
tetradic
#5268DA #DA52AC #DAC452 #52DA80
square
#5268DA #DA52AC #DAC452 #52DA80
split-complementary
#5268DA #DA8052 #ACDA52
monochromatic
#1F3292 #2A43C5 #5268DA #8494E5 #B7C0F0

Accessibility & contrast

On white

4.83
#5268DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5268DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5268DA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5268DA#FFFFFF#000000##FFFFFF
##5268DA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2178DE
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#008397
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5268da;
/* rgb */ color: rgb(82, 104, 218);
/* oklch */ color: oklch(56.2% 0.175 271.4);
Tailwind
colors: {
  custom: {
    50: '#8f92e6',
    500: '#5268da',
    950: '#000000',
  },
}
SCSS
$custom: #5268da;
$custom-light: #8f92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5268da",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 218
  },
  "hsl": {
    "h": 230.294,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56154,
    "c": 0.17521,
    "h": 271.4
  },
  "luminance": 0.16756
}

Semantic roles & 50–950 ramp

primary
#5268DA
secondary
#DFD6A9
accent
#CD40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #5268DA

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

Preview Lab → · Contrast checker → · Palette generator →

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