#5265D7#5265D7

#5265D7 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.4% C 0.175 H 272.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5265D7
RGBrgb(82, 101, 215)
HSLhsl(231, 62%, 58%)
HSVhsv(231, 62%, 84%)
CMYKcmyk(61.9%, 53%, 0%, 15.7%)
CIE-LABlab(46.98, 27.87, -60.92)
CIE-LCHlch(46.98, 66.99, 294.58°)
OKLaboklab(55.36% 0.007 -0.1748)
OKLCHoklch(55.36% 0.175 272.3)
XYZxyz(20.3950, 16.0058, 66.2915)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265D7 #D7C452
analogous
#52A7D7 #5265D7 #8252D7
triadic
#5265D7 #D75265 #65D752
tetradic
#5265D7 #D752A7 #D7C452 #52D782
square
#5265D7 #D752A7 #D7C452 #52D782
split-complementary
#5265D7 #D78252 #A7D752
monochromatic
#21308E #2C41C0 #5265D7 #8491E2 #B5BDEE

Accessibility & contrast

On white

5.00
#5265D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5265D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265D7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265D7#FFFFFF#000000##FFFFFF
##5265D71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A75DB
Deuteranopia (green-blind)
#006AD5
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5265d7;
/* rgb */ color: rgb(82, 101, 215);
/* oklch */ color: oklch(55.4% 0.175 272.3);
Tailwind
colors: {
  custom: {
    50: '#8f90e4',
    500: '#5265d7',
    950: '#000000',
  },
}
SCSS
$custom: #5265d7;
$custom-light: #8f90e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5265d7",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 215
  },
  "hsl": {
    "h": 231.429,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55362,
    "c": 0.17492,
    "h": 272.3
  },
  "luminance": 0.16007
}

Semantic roles & 50–950 ramp

primary
#5265D7
secondary
#DDD5A8
accent
#CE42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5265D7

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

Preview Lab → · Contrast checker → · Palette generator →

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