#5264C7#5264C7

#5264C7 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.154 H 272.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5264C7
RGBrgb(82, 100, 199)
HSLhsl(231, 51%, 55%)
HSVhsv(231, 59%, 78%)
CMYKcmyk(58.8%, 49.7%, 0%, 22%)
CIE-LABlab(45.68, 23.10, -53.86)
CIE-LCHlch(45.68, 58.60, 293.21°)
OKLaboklab(54.04% 0.0067 -0.154)
OKLCHoklch(54.04% 0.154 272.5)
XYZxyz(18.3423, 15.0303, 55.9563)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264C7 #C7B552
analogous
#529FC7 #5264C7 #7A52C7
triadic
#5264C7 #C75264 #64C752
tetradic
#5264C7 #C7529F #C7B552 #52C77A
square
#5264C7 #C7529F #C7B552 #52C77A
split-complementary
#5264C7 #C77A52 #9FC752
monochromatic
#273378 #3647A6 #5264C7 #808DD6 #AEB7E5

Accessibility & contrast

On white

5.24
#5264C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5264C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264C7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264C7#FFFFFF#000000##FFFFFF
##5264C71.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3071CB
Deuteranopia (green-blind)
#1A67C5
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5264c7;
/* rgb */ color: rgb(82, 100, 199);
/* oklch */ color: oklch(54.0% 0.154 272.5);
Tailwind
colors: {
  custom: {
    50: '#8c8fd9',
    500: '#5264c7',
    950: '#000000',
  },
}
SCSS
$custom: #5264c7;
$custom-light: #8c8fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5264c7",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 199
  },
  "hsl": {
    "h": 230.769,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54042,
    "c": 0.15416,
    "h": 272.5
  },
  "luminance": 0.15032
}

Semantic roles & 50–950 ramp

primary
#5264C7
secondary
#D3CBA2
accent
#C54DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5264C7

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

Preview Lab → · Contrast checker → · Palette generator →

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