#5266CC#5266CC

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

Color values

HEX#5266CC
RGBrgb(82, 102, 204)
HSLhsl(230, 54%, 56%)
HSVhsv(230, 60%, 80%)
CMYKcmyk(59.8%, 50%, 0%, 20%)
CIE-LABlab(46.52, 23.53, -55.38)
CIE-LCHlch(46.52, 60.17, 293.02°)
OKLaboklab(54.78% 0.0051 -0.1585)
OKLCHoklch(54.78% 0.159 271.9)
XYZxyz(19.1265, 15.6547, 59.1288)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5266CC #CCB852
analogous
#52A3CC #5266CC #7B52CC
triadic
#5266CC #CC5266 #66CC52
tetradic
#5266CC #CC52A3 #CCB852 #52CC7B
square
#5266CC #CC52A3 #CCB852 #52CC7B
split-complementary
#5266CC #CC7B52 #A3CC52
monochromatic
#25347E #3347AE #5266CC #8190DA #B1BAE8

Accessibility & contrast

On white

5.08
#5266CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5266CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5266CC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5266CC#FFFFFF#000000##FFFFFF
##5266CC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3074D0
Deuteranopia (green-blind)
#1569CA
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5266cc;
/* rgb */ color: rgb(82, 102, 204);
/* oklch */ color: oklch(54.8% 0.159 271.9);
Tailwind
colors: {
  custom: {
    50: '#8d91dc',
    500: '#5266cc',
    950: '#000000',
  },
}
SCSS
$custom: #5266cc;
$custom-light: #8d91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5266cc",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 230.164,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54781,
    "c": 0.15855,
    "h": 271.9
  },
  "luminance": 0.15656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5266CC

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

Preview Lab → · Contrast checker → · Palette generator →

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