#5275DD#5275DD

#5275DD is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.9% C 0.163 H 267.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5275DD
RGBrgb(82, 117, 221)
HSLhsl(225, 67%, 59%)
HSVhsv(225, 63%, 87%)
CMYKcmyk(62.9%, 47.1%, 0%, 13.3%)
CIE-LABlab(51.54, 19.97, -56.99)
CIE-LCHlch(51.54, 60.38, 289.31°)
OKLaboklab(58.94% -0.0077 -0.163)
OKLCHoklch(58.94% 0.163 267.3)
XYZxyz(22.8876, 19.7348, 70.9956)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5275DD #DDBA52
analogous
#52BBDD #5275DD #7552DD
triadic
#5275DD #DD5275 #75DD52
tetradic
#5275DD #DD52BB #DDBA52 #52DD75
square
#5275DD #DD52BB #DDBA52 #52DD75
split-complementary
#5275DD #DD7552 #BBDD52
monochromatic
#1E3C97 #2851CA #5275DD #859EE7 #B8C7F1

Accessibility & contrast

On white

4.24
#5275DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5275DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5275DD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5275DD#FFFFFF#000000##000000
##5275DD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E1
Deuteranopia (green-blind)
#2675DB
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5275dd;
/* rgb */ color: rgb(82, 117, 221);
/* oklch */ color: oklch(58.9% 0.163 267.3);
Tailwind
colors: {
  custom: {
    50: '#8f9ce8',
    500: '#5275dd',
    950: '#000000',
  },
}
SCSS
$custom: #5275dd;
$custom-light: #8f9ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5275dd",
  "rgb": {
    "r": 82,
    "g": 117,
    "b": 221
  },
  "hsl": {
    "h": 224.892,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58935,
    "c": 0.16318,
    "h": 267.3
  },
  "luminance": 0.19737
}

Semantic roles & 50–950 ramp

primary
#5275DD
secondary
#E0D3AA
accent
#BF3EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5275DD

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

Preview Lab → · Contrast checker → · Palette generator →

#5275DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva