#5267DA#5267DA

#5267DA is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.0% C 0.176 H 271.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5267DA
RGBrgb(82, 103, 218)
HSLhsl(231, 65%, 59%)
HSVhsv(231, 62%, 85%)
CMYKcmyk(62.4%, 52.8%, 0%, 14.5%)
CIE-LABlab(47.69, 27.64, -61.48)
CIE-LCHlch(47.69, 67.40, 294.21°)
OKLaboklab(55.96% 0.0053 -0.1764)
OKLCHoklch(55.96% 0.176 271.7)
XYZxyz(20.9806, 16.5545, 68.4058)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267DA #DAC552
analogous
#52ABDA #5267DA #8152DA
triadic
#5267DA #DA5267 #67DA52
tetradic
#5267DA #DA52AB #DAC552 #52DA81
square
#5267DA #DA52AB #DAC552 #52DA81
split-complementary
#5267DA #DA8152 #ABDA52
monochromatic
#1F3192 #2A42C5 #5267DA #8493E5 #B7C0F0

Accessibility & contrast

On white

4.87
#5267DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5267DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267DA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267DA#FFFFFF#000000##FFFFFF
##5267DA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D77DE
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5267da;
/* rgb */ color: rgb(82, 103, 218);
/* oklch */ color: oklch(56.0% 0.176 271.7);
Tailwind
colors: {
  custom: {
    50: '#8f92e6',
    500: '#5267da',
    950: '#000000',
  },
}
SCSS
$custom: #5267da;
$custom-light: #8f92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5267da",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 218
  },
  "hsl": {
    "h": 230.735,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.17647,
    "h": 271.7
  },
  "luminance": 0.16556
}

Semantic roles & 50–950 ramp

primary
#5267DA
secondary
#DFD6A9
accent
#CE40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5267DA

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

Preview Lab → · Contrast checker → · Palette generator →

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