#5265DB#5265DB

#5265DB is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.7% C 0.180 H 272.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5265DB
RGBrgb(82, 101, 219)
HSLhsl(232, 66%, 59%)
HSVhsv(232, 63%, 86%)
CMYKcmyk(62.6%, 53.9%, 0%, 14.1%)
CIE-LABlab(47.25, 29.22, -62.76)
CIE-LCHlch(47.25, 69.22, 294.97°)
OKLaboklab(55.65% 0.0072 -0.1802)
OKLCHoklch(55.65% 0.18 272.3)
XYZxyz(20.9153, 16.2139, 69.0315)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265DB #DBC852
analogous
#52AADB #5265DB #8452DB
triadic
#5265DB #DB5265 #65DB52
tetradic
#5265DB #DB52AA #DBC852 #52DB84
square
#5265DB #DB52AA #DBC852 #52DB84
split-complementary
#5265DB #DB8452 #AADB52
monochromatic
#1F2F94 #293FC6 #5265DB #8592E6 #B7BFF0

Accessibility & contrast

On white

4.95
#5265DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5265DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265DB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265DB#FFFFFF#000000##FFFFFF
##5265DB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F76DF
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5265db;
/* rgb */ color: rgb(82, 101, 219);
/* oklch */ color: oklch(55.7% 0.180 272.3);
Tailwind
colors: {
  custom: {
    50: '#9090e7',
    500: '#5265db',
    950: '#000000',
  },
}
SCSS
$custom: #5265db;
$custom-light: #9090e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5265db",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 231.679,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55652,
    "c": 0.18032,
    "h": 272.3
  },
  "luminance": 0.16216
}

Semantic roles & 50–950 ramp

primary
#5265DB
secondary
#DFD8AA
accent
#D13FE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5265DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5265DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva