#525BB3#525BB3

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

Color values

HEX#525BB3
RGBrgb(82, 91, 179)
HSLhsl(234, 39%, 51%)
HSVhsv(234, 54%, 70%)
CMYKcmyk(54.2%, 49.2%, 0%, 29.8%)
CIE-LABlab(42.05, 22.12, -48.06)
CIE-LCHlch(42.05, 52.91, 294.71°)
OKLaboklab(50.89% 0.0143 -0.1371)
OKLCHoklch(50.89% 0.138 276)
XYZxyz(15.3549, 12.5297, 44.2484)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525BB3 #B3AA52
analogous
#528BB3 #525BB3 #7952B3
triadic
#525BB3 #B3525B #5BB352
tetradic
#525BB3 #B3528B #B3AA52 #52B379
square
#525BB3 #B3528B #B3AA52 #52B379
split-complementary
#525BB3 #B37952 #8BB352
monochromatic
#2A2F60 #3D448B #525BB3 #7D83C6 #A7ACD8

Accessibility & contrast

On white

5.99
#525BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #525BB3
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525BB3#FFFFFF#000000##FFFFFF
##525BB31.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B6
Deuteranopia (green-blind)
#255FB1
Tritanopia (blue-blind)
#246E7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #525bb3;
/* rgb */ color: rgb(82, 91, 179);
/* oklch */ color: oklch(50.9% 0.138 276.0);
Tailwind
colors: {
  custom: {
    50: '#8a89ca',
    500: '#525bb3',
    950: '#000000',
  },
}
SCSS
$custom: #525bb3;
$custom-light: #8a89ca;
$custom-dark: #000000;
JSON
{
  "hex": "#525bb3",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 234.433,
    "s": 38.956,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.13781,
    "h": 276
  },
  "luminance": 0.12531
}

Semantic roles & 50–950 ramp

primary
#525BB3
secondary
#C6C29B
accent
#C459CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #525BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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