#525BB7#525BB7

#525BB7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.144 H 275.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#525BB7
RGBrgb(82, 91, 183)
HSLhsl(235, 41%, 52%)
HSVhsv(235, 55%, 72%)
CMYKcmyk(55.2%, 50.3%, 0%, 28.2%)
CIE-LABlab(42.30, 23.44, -50.00)
CIE-LCHlch(42.30, 55.22, 295.11°)
OKLaboklab(51.16% 0.0147 -0.1428)
OKLCHoklch(51.16% 0.144 275.9)
XYZxyz(15.7653, 12.6938, 46.4100)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BB7 #B7AE52
analogous
#528EB7 #525BB7 #7B52B7
triadic
#525BB7 #B7525B #5BB752
tetradic
#525BB7 #B7528E #B7AE52 #52B77B
square
#525BB7 #B7528E #B7AE52 #52B77B
split-complementary
#525BB7 #B77B52 #8EB752
monochromatic
#2A2F65 #3C4390 #525BB7 #7D84C9 #A8ADDB

Accessibility & contrast

On white

5.93
#525BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#525BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BB7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BB7#FFFFFF#000000##FFFFFF
##525BB71.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D68BA
Deuteranopia (green-blind)
#1E60B5
Tritanopia (blue-blind)
#1E7080
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #525bb7;
/* rgb */ color: rgb(82, 91, 183);
/* oklch */ color: oklch(51.2% 0.144 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a89cd',
    500: '#525bb7',
    950: '#000000',
  },
}
SCSS
$custom: #525bb7;
$custom-light: #8a89cd;
$custom-dark: #000000;
JSON
{
  "hex": "#525bb7",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 234.653,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.14352,
    "h": 275.9
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#525BB7
secondary
#C9C59C
accent
#C657D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #525BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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