#5266CD#5266CD

#5266CD is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.160 H 271.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5266CD
RGBrgb(82, 102, 205)
HSLhsl(230, 55%, 56%)
HSVhsv(230, 60%, 80%)
CMYKcmyk(60%, 50.2%, 0%, 19.6%)
CIE-LABlab(46.58, 23.86, -55.85)
CIE-LCHlch(46.58, 60.74, 293.14°)
OKLaboklab(54.85% 0.0052 -0.1598)
OKLCHoklch(54.85% 0.16 271.9)
XYZxyz(19.2468, 15.7028, 59.7625)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5266CD #CDB952
analogous
#52A4CD #5266CD #7C52CD
triadic
#5266CD #CD5266 #66CD52
tetradic
#5266CD #CD52A4 #CDB952 #52CD7C
square
#5266CD #CD52A4 #CDB952 #52CD7C
split-complementary
#5266CD #CD7C52 #A4CD52
monochromatic
#253480 #3347AF #5266CD #8190DB #B1BAE8

Accessibility & contrast

On white

5.07
#5266CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5266CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5266CD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5266CD#FFFFFF#000000##FFFFFF
##5266CD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E74D1
Deuteranopia (green-blind)
#1269CB
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5266cd;
/* rgb */ color: rgb(82, 102, 205);
/* oklch */ color: oklch(54.9% 0.160 271.9);
Tailwind
colors: {
  custom: {
    50: '#8d91dd',
    500: '#5266cd',
    950: '#000000',
  },
}
SCSS
$custom: #5266cd;
$custom-light: #8d91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5266cd",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 230.244,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5485,
    "c": 0.15994,
    "h": 271.9
  },
  "luminance": 0.15704
}

Semantic roles & 50–950 ramp

primary
#5266CD
secondary
#D7CEA4
accent
#C649DE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5266CD

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

Preview Lab → · Contrast checker → · Palette generator →

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