#5267DF#5267DF

#5267DF is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.3% C 0.183 H 271.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5267DF
RGBrgb(82, 103, 223)
HSLhsl(231, 69%, 60%)
HSVhsv(231, 63%, 87%)
CMYKcmyk(63.2%, 53.8%, 0%, 12.5%)
CIE-LABlab(48.03, 29.33, -63.76)
CIE-LCHlch(48.03, 70.19, 294.70°)
OKLaboklab(56.32% 0.0056 -0.1831)
OKLCHoklch(56.32% 0.183 271.8)
XYZxyz(21.6447, 16.8202, 71.9037)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267DF #DFCA52
analogous
#52ADDF #5267DF #8452DF
triadic
#5267DF #DF5267 #67DF52
tetradic
#5267DF #DF52AD #DFCA52 #52DF84
square
#5267DF #DF52AD #DFCA52 #52DF84
split-complementary
#5267DF #DF8452 #ADDF52
monochromatic
#1D2F9A #263FCE #5267DF #8694E9 #B9C2F2

Accessibility & contrast

On white

4.81
#5267DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5267DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267DF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267DF#FFFFFF#000000##FFFFFF
##5267DF1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E79E3
Deuteranopia (green-blind)
#006CDD
Tritanopia (blue-blind)
#008399
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5267df;
/* rgb */ color: rgb(82, 103, 223);
/* oklch */ color: oklch(56.3% 0.183 271.8);
Tailwind
colors: {
  custom: {
    50: '#9092ea',
    500: '#5267df',
    950: '#000000',
  },
}
SCSS
$custom: #5267df;
$custom-light: #9092ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5267df",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 223
  },
  "hsl": {
    "h": 231.064,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56324,
    "c": 0.18321,
    "h": 271.8
  },
  "luminance": 0.16822
}

Semantic roles & 50–950 ramp

primary
#5267DF
secondary
#E2DAAB
accent
#D13CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5267DF

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

Preview Lab → · Contrast checker → · Palette generator →

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