#525FDF#525FDF

#525FDF is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.8% C 0.193 H 273.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#525FDF
RGBrgb(82, 95, 223)
HSLhsl(234, 69%, 60%)
HSVhsv(234, 63%, 87%)
CMYKcmyk(63.2%, 57.4%, 0%, 12.5%)
CIE-LABlab(46.05, 34.28, -66.98)
CIE-LCHlch(46.05, 75.24, 297.10°)
OKLaboklab(54.84% 0.0127 -0.1927)
OKLCHoklch(54.84% 0.193 273.8)
XYZxyz(20.8868, 15.3042, 71.6510)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FDF #DFD252
analogous
#52A6DF #525FDF #8C52DF
triadic
#525FDF #DF525F #5FDF52
tetradic
#525FDF #DF52A6 #DFD252 #52DF8C
square
#525FDF #DF52A6 #DFD252 #52DF8C
split-complementary
#525FDF #DF8C52 #A6DF52
monochromatic
#1D289A #2636CE #525FDF #868FE9 #B9BFF2

Accessibility & contrast

On white

5.17
#525FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#525FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FDF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FDF#FFFFFF#000000##FFFFFF
##525FDF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #525fdf;
/* rgb */ color: rgb(82, 95, 223);
/* oklch */ color: oklch(54.8% 0.193 273.8);
Tailwind
colors: {
  custom: {
    50: '#918cea',
    500: '#525fdf',
    950: '#000000',
  },
}
SCSS
$custom: #525fdf;
$custom-light: #918cea;
$custom-dark: #000000;
JSON
{
  "hex": "#525fdf",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 234.468,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.19309,
    "h": 273.8
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#525FDF
secondary
#E2DDAB
accent
#DB3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #525FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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