#5265CD#5265CD

#5265CD is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.7% C 0.161 H 272.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5265CD
RGBrgb(82, 101, 205)
HSLhsl(231, 55%, 56%)
HSVhsv(231, 60%, 80%)
CMYKcmyk(60%, 50.7%, 0%, 19.6%)
CIE-LABlab(46.32, 24.49, -56.27)
CIE-LCHlch(46.32, 61.37, 293.52°)
OKLaboklab(54.65% 0.0062 -0.1611)
OKLCHoklch(54.65% 0.161 272.2)
XYZxyz(19.1491, 15.5074, 59.7299)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265CD #CDBA52
analogous
#52A3CD #5265CD #7D52CD
triadic
#5265CD #CD5265 #65CD52
tetradic
#5265CD #CD52A3 #CDBA52 #52CD7D
square
#5265CD #CD52A3 #CDBA52 #52CD7D
split-complementary
#5265CD #CD7D52 #A3CD52
monochromatic
#253380 #3346AF #5265CD #818FDB #B1BAE8

Accessibility & contrast

On white

5.12
#5265CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5265CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265CD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265CD#FFFFFF#000000##FFFFFF
##5265CD1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D1
Deuteranopia (green-blind)
#0C69CB
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5265cd;
/* rgb */ color: rgb(82, 101, 205);
/* oklch */ color: oklch(54.7% 0.161 272.2);
Tailwind
colors: {
  custom: {
    50: '#8d90dd',
    500: '#5265cd',
    950: '#000000',
  },
}
SCSS
$custom: #5265cd;
$custom-light: #8d90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5265cd",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 230.732,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54653,
    "c": 0.16122,
    "h": 272.2
  },
  "luminance": 0.15509
}

Semantic roles & 50–950 ramp

primary
#5265CD
secondary
#D7CFA4
accent
#C749DE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5265CD

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

Preview Lab → · Contrast checker → · Palette generator →

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