#5264CA#5264CA

#5264CA is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.2% C 0.158 H 272.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5264CA
RGBrgb(82, 100, 202)
HSLhsl(231, 53%, 56%)
HSVhsv(231, 59%, 79%)
CMYKcmyk(59.4%, 50.5%, 0%, 20.8%)
CIE-LABlab(45.87, 24.11, -55.28)
CIE-LCHlch(45.87, 60.31, 293.56°)
OKLaboklab(54.25% 0.007 -0.1582)
OKLCHoklch(54.25% 0.158 272.5)
XYZxyz(18.6940, 15.1710, 57.8088)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264CA #CAB852
analogous
#52A0CA #5264CA #7C52CA
triadic
#5264CA #CA5264 #64CA52
tetradic
#5264CA #CA52A0 #CAB852 #52CA7C
square
#5264CA #CA52A0 #CAB852 #52CA7C
split-complementary
#5264CA #CA7C52 #A0CA52
monochromatic
#26337C #3446AB #5264CA #818ED8 #B0B8E7

Accessibility & contrast

On white

5.21
#5264CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5264CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264CA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264CA#FFFFFF#000000##FFFFFF
##5264CA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#1268C8
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5264ca;
/* rgb */ color: rgb(82, 100, 202);
/* oklch */ color: oklch(54.2% 0.158 272.5);
Tailwind
colors: {
  custom: {
    50: '#8d8fdb',
    500: '#5264ca',
    950: '#000000',
  },
}
SCSS
$custom: #5264ca;
$custom-light: #8d8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5264ca",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 231,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54248,
    "c": 0.15834,
    "h": 272.5
  },
  "luminance": 0.15172
}

Semantic roles & 50–950 ramp

primary
#5264CA
secondary
#D5CDA3
accent
#C74BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5264CA

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

Preview Lab → · Contrast checker → · Palette generator →

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