#5264BA#5264BA

#5264BA is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.2% C 0.136 H 272.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5264BA
RGBrgb(82, 100, 186)
HSLhsl(230, 43%, 53%)
HSVhsv(230, 56%, 73%)
CMYKcmyk(55.9%, 46.2%, 0%, 27.1%)
CIE-LABlab(44.87, 18.75, -47.62)
CIE-LCHlch(44.87, 51.18, 291.49°)
OKLaboklab(53.18% 0.0051 -0.1357)
OKLCHoklch(53.18% 0.136 272.1)
XYZxyz(16.8969, 14.4521, 48.3440)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264BA #BAA852
analogous
#5298BA #5264BA #7452BA
triadic
#5264BA #BA5264 #64BA52
tetradic
#5264BA #BA5298 #BAA852 #52BA74
square
#5264BA #BA5298 #BAA852 #52BA74
split-complementary
#5264BA #BA7452 #98BA52
monochromatic
#2A3468 #3B4A94 #5264BA #7E8BCB #AAB2DD

Accessibility & contrast

On white

5.40
#5264BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5264BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264BA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264BA#FFFFFF#000000##FFFFFF
##5264BA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBD
Deuteranopia (green-blind)
#2F66B8
Tritanopia (blue-blind)
#177786
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5264ba;
/* rgb */ color: rgb(82, 100, 186);
/* oklch */ color: oklch(53.2% 0.136 272.1);
Tailwind
colors: {
  custom: {
    50: '#8a8fcf',
    500: '#5264ba',
    950: '#000000',
  },
}
SCSS
$custom: #5264ba;
$custom-light: #8a8fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5264ba",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 186
  },
  "hsl": {
    "h": 229.615,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.13577,
    "h": 272.1
  },
  "luminance": 0.14453
}

Semantic roles & 50–950 ramp

primary
#5264BA
secondary
#CAC39D
accent
#BD55D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #5264BA

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

Preview Lab → · Contrast checker → · Palette generator →

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