#5264BF#5264BF

#5264BF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.5% C 0.143 H 272.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5264BF
RGBrgb(82, 100, 191)
HSLhsl(230, 46%, 54%)
HSVhsv(230, 57%, 75%)
CMYKcmyk(57.1%, 47.6%, 0%, 25.1%)
CIE-LABlab(45.18, 20.42, -50.04)
CIE-LCHlch(45.18, 54.05, 292.20°)
OKLaboklab(53.5% 0.0058 -0.1428)
OKLCHoklch(53.5% 0.143 272.3)
XYZxyz(17.4377, 14.6685, 51.1925)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5264BF #BFAD52
analogous
#529ABF #5264BF #7652BF
triadic
#5264BF #BF5264 #64BF52
tetradic
#5264BF #BF529A #BFAD52 #52BF76
square
#5264BF #BF529A #BFAD52 #52BF76
split-complementary
#5264BF #BF7652 #9ABF52
monochromatic
#29346E #39499B #5264BF #7F8CD0 #ABB4E0

Accessibility & contrast

On white

5.34
#5264BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5264BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5264BF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5264BF#FFFFFF#000000##FFFFFF
##5264BF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#2966BD
Tritanopia (blue-blind)
#0A7888
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5264bf;
/* rgb */ color: rgb(82, 100, 191);
/* oklch */ color: oklch(53.5% 0.143 272.3);
Tailwind
colors: {
  custom: {
    50: '#8b8fd3',
    500: '#5264bf',
    950: '#000000',
  },
}
SCSS
$custom: #5264bf;
$custom-light: #8b8fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5264bf",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 230.092,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53503,
    "c": 0.14291,
    "h": 272.3
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#5264BF
secondary
#CEC69F
accent
#C052D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5264BF

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

Preview Lab → · Contrast checker → · Palette generator →

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