#525DD5#525DD5

#525DD5 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.182 H 274.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#525DD5
RGBrgb(82, 93, 213)
HSLhsl(235, 61%, 58%)
HSVhsv(235, 62%, 84%)
CMYKcmyk(61.5%, 56.3%, 0%, 16.5%)
CIE-LABlab(44.84, 32.17, -63.25)
CIE-LCHlch(44.84, 70.96, 296.96°)
OKLaboklab(53.71% 0.0144 -0.1817)
OKLCHoklch(53.71% 0.182 274.5)
XYZxyz(19.4003, 14.4251, 64.6999)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525DD5 #D5CA52
analogous
#529ED5 #525DD5 #8952D5
triadic
#525DD5 #D5525D #5DD552
tetradic
#525DD5 #D5529E #D5CA52 #52D589
square
#525DD5 #D5529E #D5CA52 #52D589
split-complementary
#525DD5 #D58952 #9ED552
monochromatic
#222B8B #2E3ABC #525DD5 #838BE1 #B4B9ED

Accessibility & contrast

On white

5.40
#525DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#525DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525DD5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525DD5#FFFFFF#000000##FFFFFF
##525DD51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #525dd5;
/* rgb */ color: rgb(82, 93, 213);
/* oklch */ color: oklch(53.7% 0.182 274.5);
Tailwind
colors: {
  custom: {
    50: '#8f8ae3',
    500: '#525dd5',
    950: '#000000',
  },
}
SCSS
$custom: #525dd5;
$custom-light: #8f8ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#525dd5",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 234.962,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.18229,
    "h": 274.5
  },
  "luminance": 0.14427
}

Semantic roles & 50–950 ramp

primary
#525DD5
secondary
#DCD7A7
accent
#D744E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #525DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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