#5275DA#5275DA

#5275DA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.7% C 0.159 H 267.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5275DA
RGBrgb(82, 117, 218)
HSLhsl(225, 65%, 59%)
HSVhsv(225, 62%, 85%)
CMYKcmyk(62.4%, 46.3%, 0%, 14.5%)
CIE-LABlab(51.35, 18.94, -55.58)
CIE-LCHlch(51.35, 58.72, 288.82°)
OKLaboklab(58.74% -0.0081 -0.1589)
OKLCHoklch(58.74% 0.159 267.1)
XYZxyz(22.4915, 19.5764, 68.9094)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5275DA #DAB752
analogous
#52B9DA #5275DA #7352DA
triadic
#5275DA #DA5275 #75DA52
tetradic
#5275DA #DA52B9 #DAB752 #52DA73
square
#5275DA #DA52B9 #DAB752 #52DA73
split-complementary
#5275DA #DA7352 #B9DA52
monochromatic
#1F3D92 #2A52C5 #5275DA #849DE5 #B7C5F0

Accessibility & contrast

On white

4.27
#5275DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5275DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5275DA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5275DA#FFFFFF#000000##000000
##5275DA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DE
Deuteranopia (green-blind)
#2B75D8
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5275da;
/* rgb */ color: rgb(82, 117, 218);
/* oklch */ color: oklch(58.7% 0.159 267.1);
Tailwind
colors: {
  custom: {
    50: '#8f9ce6',
    500: '#5275da',
    950: '#000000',
  },
}
SCSS
$custom: #5275da;
$custom-light: #8f9ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#5275da",
  "rgb": {
    "r": 82,
    "g": 117,
    "b": 218
  },
  "hsl": {
    "h": 224.559,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58738,
    "c": 0.15909,
    "h": 267.1
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#5275DA
secondary
#DFD1A9
accent
#BD40E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #5275DA

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

Preview Lab → · Contrast checker → · Palette generator →

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