#526BB2#526BB2

#526BB2 is a mid, moderate blue. Relative luminance 0.155; OKLCH L 54.2% C 0.115 H 267.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#526BB2
RGBrgb(82, 107, 178)
HSLhsl(224, 38%, 51%)
HSVhsv(224, 54%, 70%)
CMYKcmyk(53.9%, 39.9%, 0%, 30.2%)
CIE-LABlab(46.34, 11.73, -40.63)
CIE-LCHlch(46.34, 42.29, 286.10°)
OKLaboklab(54.15% -0.0044 -0.1151)
OKLCHoklch(54.15% 0.115 267.8)
XYZxyz(16.7706, 15.5224, 44.2232)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526BB2 #B29952
analogous
#529BB2 #526BB2 #6952B2
triadic
#526BB2 #B2526B #6BB252
tetradic
#526BB2 #B2529B #B29952 #52B269
square
#526BB2 #B2529B #B29952 #52B269
split-complementary
#526BB2 #B26952 #9BB252
monochromatic
#2A385F #3D518A #526BB2 #7C8FC5 #A7B3D8

Accessibility & contrast

On white

5.12
#526BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#526BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526BB2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526BB2#FFFFFF#000000##FFFFFF
##526BB21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B5
Deuteranopia (green-blind)
#436AB0
Tritanopia (blue-blind)
#217A86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #526bb2;
/* rgb */ color: rgb(82, 107, 178);
/* oklch */ color: oklch(54.2% 0.115 267.8);
Tailwind
colors: {
  custom: {
    50: '#8995c9',
    500: '#526bb2',
    950: '#000000',
  },
}
SCSS
$custom: #526bb2;
$custom-light: #8995c9;
$custom-dark: #000000;
JSON
{
  "hex": "#526bb2",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 224.375,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.11519,
    "h": 267.8
  },
  "luminance": 0.15524
}

Semantic roles & 50–950 ramp

primary
#526BB2
secondary
#C5BA9B
accent
#B059CE
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #526BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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