#5243CB#5243CB

#5243CB is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.5% C 0.201 H 280.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5243CB
RGBrgb(82, 67, 203)
HSLhsl(247, 57%, 53%)
HSVhsv(247, 67%, 80%)
CMYKcmyk(59.6%, 67%, 0%, 20.4%)
CIE-LABlab(38.05, 44.59, -68.54)
CIE-LCHlch(38.05, 81.77, 303.04°)
OKLaboklab(48.49% 0.0377 -0.1974)
OKLCHoklch(48.49% 0.201 280.8)
XYZxyz(16.2629, 10.1188, 57.5845)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5243CB #BCCB43
analogous
#4378CB #5243CB #9643CB
triadic
#5243CB #CB5243 #43CB52
tetradic
#5243CB #CB4378 #BCCB43 #43CB96
square
#5243CB #CB4378 #BCCB43 #43CB96
split-complementary
#5243CB #CB9643 #78CB43
monochromatic
#292074 #3A2DA4 #5243CB #7E73D8 #AAA3E6

Accessibility & contrast

On white

6.94
#5243CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5243CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5243CB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5243CB#FFFFFF#000000##FFFFFF
##5243CB1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5243cb;
/* rgb */ color: rgb(82, 67, 203);
/* oklch */ color: oklch(48.5% 0.201 280.8);
Tailwind
colors: {
  custom: {
    50: '#8f78dc',
    500: '#5243cb',
    950: '#000000',
  },
}
SCSS
$custom: #5243cb;
$custom-light: #8f78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5243cb",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 246.618,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48492,
    "c": 0.20097,
    "h": 280.8
  },
  "luminance": 0.1012
}

Semantic roles & 50–950 ramp

primary
#5243CB
secondary
#CCD298
accent
#E048CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5243CB

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

Preview Lab → · Contrast checker → · Palette generator →

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