#525BBD#525BBD

#525BBD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.152 H 275.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#525BBD
RGBrgb(82, 91, 189)
HSLhsl(235, 45%, 53%)
HSVhsv(235, 57%, 74%)
CMYKcmyk(56.6%, 51.9%, 0%, 25.9%)
CIE-LABlab(42.69, 25.42, -52.88)
CIE-LCHlch(42.69, 58.67, 295.67°)
OKLaboklab(51.58% 0.0152 -0.1512)
OKLCHoklch(51.58% 0.152 275.8)
XYZxyz(16.4031, 12.9490, 49.7693)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BBD #BDB452
analogous
#5290BD #525BBD #7E52BD
triadic
#525BBD #BD525B #5BBD52
tetradic
#525BBD #BD5290 #BDB452 #52BD7E
square
#525BBD #BD5290 #BDB452 #52BD7E
split-complementary
#525BBD #BD7E52 #90BD52
monochromatic
#292F6C #3A4298 #525BBD #7E85CE #ABAFDF

Accessibility & contrast

On white

5.85
#525BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#525BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BBD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BBD#FFFFFF#000000##FFFFFF
##525BBD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#1060BB
Tritanopia (blue-blind)
#147183
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #525bbd;
/* rgb */ color: rgb(82, 91, 189);
/* oklch */ color: oklch(51.6% 0.152 275.8);
Tailwind
colors: {
  custom: {
    50: '#8b89d1',
    500: '#525bbd',
    950: '#000000',
  },
}
SCSS
$custom: #525bbd;
$custom-light: #8b89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#525bbd",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 234.953,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51579,
    "c": 0.152,
    "h": 275.8
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

primary
#525BBD
secondary
#CCC99E
accent
#CA53D4
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #525BBD

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

Preview Lab → · Contrast checker → · Palette generator →

#525BBD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva