#5267CC#5267CC

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

Color values

HEX#5267CC
RGBrgb(82, 103, 204)
HSLhsl(230, 54%, 56%)
HSVhsv(230, 60%, 80%)
CMYKcmyk(59.8%, 49.5%, 0%, 20%)
CIE-LABlab(46.78, 22.90, -54.96)
CIE-LCHlch(46.78, 59.54, 292.62°)
OKLaboklab(54.98% 0.0041 -0.1572)
OKLCHoklch(54.98% 0.157 271.5)
XYZxyz(19.2254, 15.8524, 59.1617)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267CC #CCB752
analogous
#52A4CC #5267CC #7A52CC
triadic
#5267CC #CC5267 #67CC52
tetradic
#5267CC #CC52A4 #CCB752 #52CC7A
square
#5267CC #CC52A4 #CCB752 #52CC7A
split-complementary
#5267CC #CC7A52 #A4CC52
monochromatic
#25357E #3348AE #5267CC #8191DA #B1BAE8

Accessibility & contrast

On white

5.04
#5267CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5267CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267CC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267CC#FFFFFF#000000##FFFFFF
##5267CC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3274D0
Deuteranopia (green-blind)
#1A6ACA
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5267cc;
/* rgb */ color: rgb(82, 103, 204);
/* oklch */ color: oklch(55.0% 0.157 271.5);
Tailwind
colors: {
  custom: {
    50: '#8d92dc',
    500: '#5267cc',
    950: '#000000',
  },
}
SCSS
$custom: #5267cc;
$custom-light: #8d92dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5267cc",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 204
  },
  "hsl": {
    "h": 229.672,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5498,
    "c": 0.15727,
    "h": 271.5
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#5267CC
secondary
#D6CDA4
accent
#C44ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5267CC

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

Preview Lab → · Contrast checker → · Palette generator →

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