#5272CB#5272CB

#5272CB is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.2% C 0.142 H 267.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5272CB
RGBrgb(82, 114, 203)
HSLhsl(224, 54%, 56%)
HSVhsv(224, 60%, 80%)
CMYKcmyk(59.6%, 43.8%, 0%, 20.4%)
CIE-LABlab(49.66, 15.71, -49.77)
CIE-LCHlch(49.66, 52.19, 287.52°)
OKLaboklab(57.16% -0.0074 -0.1418)
OKLCHoklch(57.16% 0.142 267)
XYZxyz(20.2728, 18.1386, 58.9211)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5272CB #CBAB52
analogous
#52AECB #5272CB #6E52CB
triadic
#5272CB #CB5272 #72CB52
tetradic
#5272CB #CB52AE #CBAB52 #52CB6E
square
#5272CB #CB52AE #CBAB52 #52CB6E
split-complementary
#5272CB #CB6E52 #AECB52
monochromatic
#263D7D #3454AC #5272CB #8198D9 #B0BFE7

Accessibility & contrast

On white

4.54
#5272CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5272CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5272CB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5272CB#FFFFFF#000000##000000
##5272CB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCE
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5272cb;
/* rgb */ color: rgb(82, 114, 203);
/* oklch */ color: oklch(57.2% 0.142 267.0);
Tailwind
colors: {
  custom: {
    50: '#8d9adb',
    500: '#5272cb',
    950: '#000000',
  },
}
SCSS
$custom: #5272cb;
$custom-light: #8d9adb;
$custom-dark: #000000;
JSON
{
  "hex": "#5272cb",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 224.132,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57159,
    "c": 0.14201,
    "h": 267
  },
  "luminance": 0.1814
}

Semantic roles & 50–950 ramp

primary
#5272CB
secondary
#D5C8A3
accent
#B64BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5272CB

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

Preview Lab → · Contrast checker → · Palette generator →

#5272CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva