#5266DF#5266DF

#5266DF is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.1% C 0.184 H 272.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5266DF
RGBrgb(82, 102, 223)
HSLhsl(231, 69%, 60%)
HSVhsv(231, 63%, 87%)
CMYKcmyk(63.2%, 54.3%, 0%, 12.5%)
CIE-LABlab(47.78, 29.95, -64.17)
CIE-LCHlch(47.78, 70.82, 295.02°)
OKLaboklab(56.14% 0.0065 -0.1843)
OKLCHoklch(56.14% 0.184 272)
XYZxyz(21.5459, 16.6224, 71.8707)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5266DF #DFCB52
analogous
#52ADDF #5266DF #8452DF
triadic
#5266DF #DF5266 #66DF52
tetradic
#5266DF #DF52AD #DFCB52 #52DF84
square
#5266DF #DF52AD #DFCB52 #52DF84
split-complementary
#5266DF #DF8452 #ADDF52
monochromatic
#1D2E9A #263ECE #5266DF #8694E9 #B9C1F2

Accessibility & contrast

On white

4.86
#5266DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5266DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5266DF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5266DF#FFFFFF#000000##FFFFFF
##5266DF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0578E3
Deuteranopia (green-blind)
#006BDD
Tritanopia (blue-blind)
#008399
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5266df;
/* rgb */ color: rgb(82, 102, 223);
/* oklch */ color: oklch(56.1% 0.184 272.0);
Tailwind
colors: {
  custom: {
    50: '#9091ea',
    500: '#5266df',
    950: '#000000',
  },
}
SCSS
$custom: #5266df;
$custom-light: #9091ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5266df",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 231.489,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.18445,
    "h": 272
  },
  "luminance": 0.16624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5266DF

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

Preview Lab → · Contrast checker → · Palette generator →

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