#525095#525095

#525095 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.7% C 0.110 H 282.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#525095
RGBrgb(82, 80, 149)
HSLhsl(242, 30%, 45%)
HSVhsv(242, 46%, 58%)
CMYKcmyk(45%, 46.3%, 0%, 41.6%)
CIE-LABlab(37.30, 19.49, -37.78)
CIE-LCHlch(37.30, 42.51, 297.29°)
OKLaboklab(46.71% 0.0239 -0.107)
OKLCHoklch(46.71% 0.11 282.6)
XYZxyz(11.7716, 9.7006, 29.6801)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525095 #939550
analogous
#507195 #525095 #745095
triadic
#525095 #955250 #509552
tetradic
#525095 #955071 #939550 #509574
square
#525095 #955071 #939550 #509574
split-complementary
#525095 #957450 #719550
monochromatic
#262545 #3C3B6D #525095 #7270B2 #9998C8

Accessibility & contrast

On white

7.14
#525095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#525095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525095
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525095#FFFFFF#000000##FFFFFF
##5250951.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A98
Deuteranopia (green-blind)
#325593
Tritanopia (blue-blind)
#3D5E6B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #525095;
/* rgb */ color: rgb(82, 80, 149);
/* oklch */ color: oklch(46.7% 0.110 282.6);
Tailwind
colors: {
  custom: {
    50: '#8681b4',
    500: '#525095',
    950: '#000000',
  },
}
SCSS
$custom: #525095;
$custom-light: #8681b4;
$custom-dark: #000000;
JSON
{
  "hex": "#525095",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 149
  },
  "hsl": {
    "h": 241.739,
    "s": 30.131,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46711,
    "c": 0.10961,
    "h": 282.6
  },
  "luminance": 0.09701
}

Semantic roles & 50–950 ramp

primary
#525095
secondary
#B3B48C
accent
#C661C3
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #525095

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

Preview Lab → · Contrast checker → · Palette generator →

#525095 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva