#5275CD#5275CD

#5275CD is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.9% C 0.141 H 265.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5275CD
RGBrgb(82, 117, 205)
HSLhsl(223, 55%, 56%)
HSVhsv(223, 60%, 80%)
CMYKcmyk(60%, 42.9%, 0%, 19.6%)
CIE-LABlab(50.60, 14.53, -49.42)
CIE-LCHlch(50.60, 51.51, 286.38°)
OKLaboklab(57.91% -0.0102 -0.1408)
OKLCHoklch(57.91% 0.141 265.8)
XYZxyz(20.8566, 18.9224, 60.2991)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5275CD #CDAA52
analogous
#52B3CD #5275CD #6D52CD
triadic
#5275CD #CD5275 #75CD52
tetradic
#5275CD #CD52B3 #CDAA52 #52CD6D
square
#5275CD #CD52B3 #CDAA52 #52CD6D
split-complementary
#5275CD #CD6D52 #B3CD52
monochromatic
#253F80 #3356AF #5275CD #819BDB #B1C1E8

Accessibility & contrast

On white

4.39
#5275CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5275CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5275CD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5275CD#FFFFFF#000000##000000
##5275CD1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED0
Deuteranopia (green-blind)
#3C73CB
Tritanopia (blue-blind)
#008997
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5275cd;
/* rgb */ color: rgb(82, 117, 205);
/* oklch */ color: oklch(57.9% 0.141 265.8);
Tailwind
colors: {
  custom: {
    50: '#8d9cdd',
    500: '#5275cd',
    950: '#000000',
  },
}
SCSS
$custom: #5275cd;
$custom-light: #8d9cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5275cd",
  "rgb": {
    "r": 82,
    "g": 117,
    "b": 205
  },
  "hsl": {
    "h": 222.927,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57912,
    "c": 0.14114,
    "h": 265.8
  },
  "luminance": 0.18924
}

Semantic roles & 50–950 ramp

primary
#5275CD
secondary
#D7C8A4
accent
#B449DE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5275CD

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

Preview Lab → · Contrast checker → · Palette generator →

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