#5267C8#5267C8

#5267C8 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.7% C 0.152 H 271.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5267C8
RGBrgb(82, 103, 200)
HSLhsl(229, 52%, 55%)
HSVhsv(229, 59%, 78%)
CMYKcmyk(59%, 48.5%, 0%, 21.6%)
CIE-LABlab(46.53, 21.55, -53.07)
CIE-LCHlch(46.53, 57.28, 292.10°)
OKLaboklab(54.71% 0.0037 -0.1516)
OKLCHoklch(54.71% 0.152 271.4)
XYZxyz(18.7518, 15.6630, 56.6675)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5267C8 #C8B352
analogous
#52A2C8 #5267C8 #7852C8
triadic
#5267C8 #C85267 #67C852
tetradic
#5267C8 #C852A2 #C8B352 #52C878
square
#5267C8 #C852A2 #C8B352 #52C878
split-complementary
#5267C8 #C87852 #A2C852
monochromatic
#273579 #354AA8 #5267C8 #8090D7 #AFB9E6

Accessibility & contrast

On white

5.08
#5267C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5267C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5267C8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5267C8#FFFFFF#000000##FFFFFF
##5267C81.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)
#3674CC
Deuteranopia (green-blind)
#2269C6
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5267c8;
/* rgb */ color: rgb(82, 103, 200);
/* oklch */ color: oklch(54.7% 0.152 271.4);
Tailwind
colors: {
  custom: {
    50: '#8c92d9',
    500: '#5267c8',
    950: '#000000',
  },
}
SCSS
$custom: #5267c8;
$custom-light: #8c92d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5267c8",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 200
  },
  "hsl": {
    "h": 229.322,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54709,
    "c": 0.15169,
    "h": 271.4
  },
  "luminance": 0.15664
}

Semantic roles & 50–950 ramp

primary
#5267C8
secondary
#D4CBA2
accent
#C24DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5267C8

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

Preview Lab → · Contrast checker → · Palette generator →

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