#525BB2#525BB2

#525BB2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.136 H 276.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#525BB2
RGBrgb(82, 91, 178)
HSLhsl(234, 38%, 51%)
HSVhsv(234, 54%, 70%)
CMYKcmyk(53.9%, 48.9%, 0%, 30.2%)
CIE-LABlab(41.98, 21.79, -47.57)
CIE-LCHlch(41.98, 52.33, 294.61°)
OKLaboklab(50.82% 0.0142 -0.1356)
OKLCHoklch(50.82% 0.136 276)
XYZxyz(15.2541, 12.4894, 43.7177)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BB2 #B2A952
analogous
#528BB2 #525BB2 #7952B2
triadic
#525BB2 #B2525B #5BB252
tetradic
#525BB2 #B2528B #B2A952 #52B279
square
#525BB2 #B2528B #B2A952 #52B279
split-complementary
#525BB2 #B27952 #8BB252
monochromatic
#2A2F5F #3D448A #525BB2 #7C83C5 #A7ABD8

Accessibility & contrast

On white

6.00
#525BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#525BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BB2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BB2#FFFFFF#000000##FFFFFF
##525BB21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#256E7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #525bb2;
/* rgb */ color: rgb(82, 91, 178);
/* oklch */ color: oklch(50.8% 0.136 276.0);
Tailwind
colors: {
  custom: {
    50: '#8a89c9',
    500: '#525bb2',
    950: '#000000',
  },
}
SCSS
$custom: #525bb2;
$custom-light: #8a89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#525bb2",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 234.375,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50823,
    "c": 0.13637,
    "h": 276
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#525BB2
secondary
#C5C19B
accent
#C359CE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #525BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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