#5264C8#5264C8

#5264C8 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.1% C 0.156 H 272.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5264C8
RGBrgb(82, 100, 200)
HSLhsl(231, 52%, 55%)
HSVhsv(231, 59%, 78%)
CMYKcmyk(59%, 50%, 0%, 21.6%)
CIE-LABlab(45.74, 23.43, -54.34)
CIE-LCHlch(45.74, 59.17, 293.33°)
OKLaboklab(54.11% 0.0068 -0.1554)
OKLCHoklch(54.11% 0.156 272.5)
XYZxyz(18.4587, 15.0769, 56.5698)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264C8 #C8B652
analogous
#529FC8 #5264C8 #7B52C8
triadic
#5264C8 #C85264 #64C852
tetradic
#5264C8 #C8529F #C8B652 #52C87B
square
#5264C8 #C8529F #C8B652 #52C87B
split-complementary
#5264C8 #C87B52 #9FC852
monochromatic
#273379 #3547A8 #5264C8 #808ED7 #AFB7E6

Accessibility & contrast

On white

5.23
#5264C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5264C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264C8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264C8#FFFFFF#000000##FFFFFF
##5264C81.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#1867C6
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5264c8;
/* rgb */ color: rgb(82, 100, 200);
/* oklch */ color: oklch(54.1% 0.156 272.5);
Tailwind
colors: {
  custom: {
    50: '#8d8fd9',
    500: '#5264c8',
    950: '#000000',
  },
}
SCSS
$custom: #5264c8;
$custom-light: #8d8fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5264c8",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 230.847,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5411,
    "c": 0.15556,
    "h": 272.5
  },
  "luminance": 0.15078
}

Semantic roles & 50–950 ramp

primary
#5264C8
secondary
#D4CCA2
accent
#C54DDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5264C8

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

Preview Lab → · Contrast checker → · Palette generator →

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