#5265CC#5265CC

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

Color values

HEX#5265CC
RGBrgb(82, 101, 204)
HSLhsl(231, 54%, 56%)
HSVhsv(231, 60%, 80%)
CMYKcmyk(59.8%, 50.5%, 0%, 20%)
CIE-LABlab(46.26, 24.15, -55.80)
CIE-LCHlch(46.26, 60.80, 293.40°)
OKLaboklab(54.58% 0.0061 -0.1597)
OKLCHoklch(54.58% 0.16 272.2)
XYZxyz(19.0288, 15.4593, 59.0962)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265CC #CCB952
analogous
#52A2CC #5265CC #7C52CC
triadic
#5265CC #CC5265 #65CC52
tetradic
#5265CC #CC52A2 #CCB952 #52CC7C
square
#5265CC #CC52A2 #CCB952 #52CC7C
split-complementary
#5265CC #CC7C52 #A2CC52
monochromatic
#25337E #3346AE #5265CC #818FDA #B1B9E8

Accessibility & contrast

On white

5.13
#5265CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5265CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265CC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265CC#FFFFFF#000000##FFFFFF
##5265CC1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#1068CA
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5265cc;
/* rgb */ color: rgb(82, 101, 204);
/* oklch */ color: oklch(54.6% 0.160 272.2);
Tailwind
colors: {
  custom: {
    50: '#8d90dc',
    500: '#5265cc',
    950: '#000000',
  },
}
SCSS
$custom: #5265cc;
$custom-light: #8d90dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5265cc",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 230.656,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54584,
    "c": 0.15984,
    "h": 272.2
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#5265CC
secondary
#D6CEA4
accent
#C74ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5265CC

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

Preview Lab → · Contrast checker → · Palette generator →

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