#5267DD#5267DD

#5267DD is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.2% C 0.181 H 271.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5267DD
RGBrgb(82, 103, 221)
HSLhsl(231, 67%, 59%)
HSVhsv(231, 63%, 87%)
CMYKcmyk(62.9%, 53.4%, 0%, 13.3%)
CIE-LABlab(47.90, 28.65, -62.85)
CIE-LCHlch(47.90, 69.07, 294.51°)
OKLaboklab(56.18% 0.0055 -0.1804)
OKLCHoklch(56.18% 0.181 271.7)
XYZxyz(21.3767, 16.7130, 70.4920)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267DD #DDC852
analogous
#52ADDD #5267DD #8352DD
triadic
#5267DD #DD5267 #67DD52
tetradic
#5267DD #DD52AD #DDC852 #52DD83
square
#5267DD #DD52AD #DDC852 #52DD83
split-complementary
#5267DD #DD8352 #ADDD52
monochromatic
#1E3097 #2840CA #5267DD #8594E7 #B8C1F1

Accessibility & contrast

On white

4.84
#5267DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5267DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267DD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267DD#FFFFFF#000000##FFFFFF
##5267DD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1578E1
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#008398
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5267dd;
/* rgb */ color: rgb(82, 103, 221);
/* oklch */ color: oklch(56.2% 0.181 271.7);
Tailwind
colors: {
  custom: {
    50: '#9092e8',
    500: '#5267dd',
    950: '#000000',
  },
}
SCSS
$custom: #5267dd;
$custom-light: #9092e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5267dd",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 221
  },
  "hsl": {
    "h": 230.935,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56178,
    "c": 0.18052,
    "h": 271.7
  },
  "luminance": 0.16715
}

Semantic roles & 50–950 ramp

primary
#5267DD
secondary
#E0D8AA
accent
#D03EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5267DD

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

Preview Lab → · Contrast checker → · Palette generator →

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