#5233FF#5233FF

#5233FF is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 51.5% C 0.276 H 277.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5233FF
RGBrgb(82, 51, 255)
HSLhsl(249, 100%, 60%)
HSVhsv(249, 80%, 100%)
CMYKcmyk(67.8%, 80%, 0%, 0%)
CIE-LABlab(40.21, 67.96, -94.59)
CIE-LCHlch(40.21, 116.47, 305.70°)
OKLaboklab(51.51% 0.0357 -0.2733)
OKLCHoklch(51.51% 0.276 277.4)
XYZxyz(22.7076, 11.3794, 95.5881)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233FF #E0FF33
analogous
#337AFF #5233FF #B833FF
triadic
#5233FF #FF5233 #33FF52
tetradic
#5233FF #FF337A #E0FF33 #33FFB8
square
#5233FF #FF337A #E0FF33 #33FFB8
split-complementary
#5233FF #FFB833 #7AFF33
monochromatic
#1C00B8 #2500F5 #5233FF #8670FF #BAADFF

Accessibility & contrast

On white

6.41
#5233FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5233FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5233FF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233FF#FFFFFF#000000##FFFFFF
##5233FF1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067FF
Deuteranopia (green-blind)
#0056FC
Tritanopia (blue-blind)
#00739B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5233ff;
/* rgb */ color: rgb(82, 51, 255);
/* oklch */ color: oklch(51.5% 0.276 277.4);
Tailwind
colors: {
  custom: {
    50: '#9a71ff',
    500: '#5233ff',
    950: '#000000',
  },
}
SCSS
$custom: #5233ff;
$custom-light: #9a71ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5233ff",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 255
  },
  "hsl": {
    "h": 249.118,
    "s": 100,
    "l": 60
  },
  "oklch": {
    "l": 0.51505,
    "c": 0.27561,
    "h": 277.4
  },
  "luminance": 0.11381
}

Semantic roles & 50–950 ramp

primary
#5233FF
secondary
#E2EEA0
accent
#FF29DE
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100818
muted
#7F7B86

Preview Lab

Preview with #5233FF

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

Preview Lab → · Contrast checker → · Palette generator →

#5233FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva