#5243CC#5243CC

#5243CC is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.6% C 0.202 H 280.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5243CC
RGBrgb(82, 67, 204)
HSLhsl(247, 57%, 53%)
HSVhsv(247, 67%, 80%)
CMYKcmyk(59.8%, 67.2%, 0%, 20%)
CIE-LABlab(38.14, 44.90, -68.98)
CIE-LCHlch(38.14, 82.31, 303.06°)
OKLaboklab(48.58% 0.0376 -0.1987)
OKLCHoklch(48.58% 0.202 280.7)
XYZxyz(16.3825, 10.1666, 58.2141)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243CC #BDCC43
analogous
#4379CC #5243CC #9643CC
triadic
#5243CC #CC5243 #43CC52
tetradic
#5243CC #CC4379 #BDCC43 #43CC96
square
#5243CC #CC4379 #BDCC43 #43CC96
split-complementary
#5243CC #CC9643 #79CC43
monochromatic
#292075 #3A2DA5 #5243CC #7E73D9 #ABA3E6

Accessibility & contrast

On white

6.92
#5243CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5243CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5243CC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243CC#FFFFFF#000000##FFFFFF
##5243CC1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5243cc;
/* rgb */ color: rgb(82, 67, 204);
/* oklch */ color: oklch(48.6% 0.202 280.7);
Tailwind
colors: {
  custom: {
    50: '#8f78dd',
    500: '#5243cc',
    950: '#000000',
  },
}
SCSS
$custom: #5243cc;
$custom-light: #8f78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5243cc",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 246.569,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4858,
    "c": 0.20221,
    "h": 280.7
  },
  "luminance": 0.10168
}

Semantic roles & 50–950 ramp

primary
#5243CC
secondary
#CCD398
accent
#E147D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5243CC

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

Preview Lab → · Contrast checker → · Palette generator →

#5243CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva