#525FCB#525FCB

#525FCB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.3% C 0.166 H 274.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#525FCB
RGBrgb(82, 95, 203)
HSLhsl(234, 54%, 56%)
HSVhsv(234, 60%, 80%)
CMYKcmyk(59.6%, 53.2%, 0%, 20.4%)
CIE-LABlab(44.64, 27.57, -57.83)
CIE-LCHlch(44.64, 64.06, 295.49°)
OKLaboklab(53.35% 0.0121 -0.1657)
OKLCHoklch(53.35% 0.166 274.2)
XYZxyz(18.3478, 14.2886, 58.2794)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525FCB #CBBE52
analogous
#529BCB #525FCB #8152CB
triadic
#525FCB #CB525F #5FCB52
tetradic
#525FCB #CB529B #CBBE52 #52CB81
square
#525FCB #CB529B #CBBE52 #52CB81
split-complementary
#525FCB #CB8152 #9BCB52
monochromatic
#262F7D #3441AC #525FCB #818BD9 #B0B6E7

Accessibility & contrast

On white

5.44
#525FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#525FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525FCB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525FCB#FFFFFF#000000##FFFFFF
##525FCB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6FCF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #525fcb;
/* rgb */ color: rgb(82, 95, 203);
/* oklch */ color: oklch(53.3% 0.166 274.2);
Tailwind
colors: {
  custom: {
    50: '#8d8cdb',
    500: '#525fcb',
    950: '#000000',
  },
}
SCSS
$custom: #525fcb;
$custom-light: #8d8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#525fcb",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 233.554,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53348,
    "c": 0.16618,
    "h": 274.2
  },
  "luminance": 0.1429
}

Semantic roles & 50–950 ramp

primary
#525FCB
secondary
#D5D0A3
accent
#CD4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #525FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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