#5274CD#5274CD

#5274CD is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.7% C 0.142 H 266.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5274CD
RGBrgb(82, 116, 205)
HSLhsl(223, 55%, 56%)
HSVhsv(223, 60%, 80%)
CMYKcmyk(60%, 43.4%, 0%, 19.6%)
CIE-LABlab(50.32, 15.15, -49.85)
CIE-LCHlch(50.32, 52.10, 286.90°)
OKLaboklab(57.7% -0.0092 -0.1421)
OKLCHoklch(57.7% 0.142 266.3)
XYZxyz(20.7408, 18.6907, 60.2604)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5274CD #CDAB52
analogous
#52B2CD #5274CD #6E52CD
triadic
#5274CD #CD5274 #74CD52
tetradic
#5274CD #CD52B2 #CDAB52 #52CD6E
square
#5274CD #CD52B2 #CDAB52 #52CD6E
split-complementary
#5274CD #CD6E52 #B2CD52
monochromatic
#253E80 #3355AF #5274CD #819ADB #B1C0E8

Accessibility & contrast

On white

4.43
#5274CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5274CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5274CD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5274CD#FFFFFF#000000##000000
##5274CD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5274cd;
/* rgb */ color: rgb(82, 116, 205);
/* oklch */ color: oklch(57.7% 0.142 266.3);
Tailwind
colors: {
  custom: {
    50: '#8d9bdd',
    500: '#5274cd',
    950: '#000000',
  },
}
SCSS
$custom: #5274cd;
$custom-light: #8d9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5274cd",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 223.415,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57702,
    "c": 0.14236,
    "h": 266.3
  },
  "luminance": 0.18692
}

Semantic roles & 50–950 ramp

primary
#5274CD
secondary
#D7C9A4
accent
#B549DE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5274CD

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

Preview Lab → · Contrast checker → · Palette generator →

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