#525BBF#525BBF

#525BBF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.155 H 275.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#525BBF
RGBrgb(82, 91, 191)
HSLhsl(235, 46%, 54%)
HSVhsv(235, 57%, 75%)
CMYKcmyk(57.1%, 52.4%, 0%, 25.1%)
CIE-LABlab(42.82, 26.08, -53.83)
CIE-LCHlch(42.82, 59.82, 295.85°)
OKLaboklab(51.72% 0.0154 -0.154)
OKLCHoklch(51.72% 0.155 275.7)
XYZxyz(16.6217, 13.0364, 50.9205)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BBF #BFB652
analogous
#5291BF #525BBF #7F52BF
triadic
#525BBF #BF525B #5BBF52
tetradic
#525BBF #BF5291 #BFB652 #52BF7F
square
#525BBF #BF5291 #BFB652 #52BF7F
split-complementary
#525BBF #BF7F52 #91BF52
monochromatic
#292E6E #39419B #525BBF #7F85D0 #ABB0E0

Accessibility & contrast

On white

5.82
#525BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#525BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BBF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BBF#FFFFFF#000000##FFFFFF
##525BBF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC3
Deuteranopia (green-blind)
#0761BD
Tritanopia (blue-blind)
#0F7284
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #525bbf;
/* rgb */ color: rgb(82, 91, 191);
/* oklch */ color: oklch(51.7% 0.155 275.7);
Tailwind
colors: {
  custom: {
    50: '#8c89d3',
    500: '#525bbf',
    950: '#000000',
  },
}
SCSS
$custom: #525bbf;
$custom-light: #8c89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#525bbf",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 235.046,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.1548,
    "h": 275.7
  },
  "luminance": 0.13038
}

Semantic roles & 50–950 ramp

primary
#525BBF
secondary
#CECA9F
accent
#CB52D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #525BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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