#5275CA#5275CA

#5275CA is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.7% C 0.137 H 265.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5275CA
RGBrgb(82, 117, 202)
HSLhsl(223, 53%, 56%)
HSVhsv(223, 59%, 79%)
CMYKcmyk(59.4%, 42.1%, 0%, 20.8%)
CIE-LABlab(50.43, 13.52, -47.98)
CIE-LCHlch(50.43, 49.84, 285.74°)
OKLaboklab(57.73% -0.0108 -0.1365)
OKLCHoklch(57.73% 0.137 265.5)
XYZxyz(20.4980, 18.7790, 58.4102)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5275CA #CAA752
analogous
#52B1CA #5275CA #6B52CA
triadic
#5275CA #CA5275 #75CA52
tetradic
#5275CA #CA52B1 #CAA752 #52CA6B
square
#5275CA #CA52B1 #CAA752 #52CA6B
split-complementary
#5275CA #CA6B52 #B1CA52
monochromatic
#263F7C #3457AB #5275CA #819AD8 #B0C0E7

Accessibility & contrast

On white

4.42
#5275CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5275CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5275CA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5275CA#FFFFFF#000000##000000
##5275CA1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECD
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5275ca;
/* rgb */ color: rgb(82, 117, 202);
/* oklch */ color: oklch(57.7% 0.137 265.5);
Tailwind
colors: {
  custom: {
    50: '#8c9cda',
    500: '#5275ca',
    950: '#000000',
  },
}
SCSS
$custom: #5275ca;
$custom-light: #8c9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#5275ca",
  "rgb": {
    "r": 82,
    "g": 117,
    "b": 202
  },
  "hsl": {
    "h": 222.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57727,
    "c": 0.13697,
    "h": 265.5
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#5275CA
secondary
#D5C6A3
accent
#B24BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5275CA

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

Preview Lab → · Contrast checker → · Palette generator →

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