#525BB4#525BB4

#525BB4 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.139 H 275.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#525BB4
RGBrgb(82, 91, 180)
HSLhsl(234, 40%, 51%)
HSVhsv(234, 54%, 71%)
CMYKcmyk(54.4%, 49.4%, 0%, 29.4%)
CIE-LABlab(42.11, 22.45, -48.55)
CIE-LCHlch(42.11, 53.49, 294.81°)
OKLaboklab(50.96% 0.0144 -0.1385)
OKLCHoklch(50.96% 0.139 275.9)
XYZxyz(15.4564, 12.5703, 44.7830)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BB4 #B4AB52
analogous
#528CB4 #525BB4 #7A52B4
triadic
#525BB4 #B4525B #5BB452
tetradic
#525BB4 #B4528C #B4AB52 #52B47A
square
#525BB4 #B4528C #B4AB52 #52B47A
split-complementary
#525BB4 #B47A52 #8CB452
monochromatic
#2A2F61 #3D448C #525BB4 #7D83C7 #A7ACD9

Accessibility & contrast

On white

5.98
#525BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#525BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525BB4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BB4#FFFFFF#000000##FFFFFF
##525BB41.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3068B7
Deuteranopia (green-blind)
#235FB2
Tritanopia (blue-blind)
#226F7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #525bb4;
/* rgb */ color: rgb(82, 91, 180);
/* oklch */ color: oklch(51.0% 0.139 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a89cb',
    500: '#525bb4',
    950: '#000000',
  },
}
SCSS
$custom: #525bb4;
$custom-light: #8a89cb;
$custom-dark: #000000;
JSON
{
  "hex": "#525bb4",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 234.49,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50958,
    "c": 0.13924,
    "h": 275.9
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#525BB4
secondary
#C7C39B
accent
#C458CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #525BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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