#5338DB#5338DB

#5338DB is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.5% C 0.231 H 281.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5338DB
RGBrgb(83, 56, 219)
HSLhsl(250, 69%, 54%)
HSVhsv(250, 74%, 86%)
CMYKcmyk(62.1%, 74.4%, 0%, 14.1%)
CIE-LABlab(37.45, 55.50, -78.77)
CIE-LCHlch(37.45, 96.36, 305.17°)
OKLaboklab(48.52% 0.044 -0.2273)
OKLCHoklch(48.52% 0.231 281)
XYZxyz(17.7636, 9.7805, 67.9558)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5338DB #C0DB38
analogous
#386FDB #5338DB #A538DB
triadic
#5338DB #DB5338 #38DB53
tetradic
#5338DB #DB386F #C0DB38 #38DBA5
square
#5338DB #DB386F #C0DB38 #38DBA5
split-complementary
#5338DB #DBA538 #6FDB38
monochromatic
#291781 #3921B5 #5338DB #806CE4 #ADA0EE

Accessibility & contrast

On white

7.10
#5338DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5338DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5338DB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5338DB#FFFFFF#000000##FFFFFF
##5338DB1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE0
Deuteranopia (green-blind)
#0052D8
Tritanopia (blue-blind)
#006787
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5338db;
/* rgb */ color: rgb(83, 56, 219);
/* oklch */ color: oklch(48.5% 0.231 281.0);
Tailwind
colors: {
  custom: {
    50: '#9372e8',
    500: '#5338db',
    950: '#000000',
  },
}
SCSS
$custom: #5338db;
$custom-light: #9372e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5338db",
  "rgb": {
    "r": 83,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 249.939,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48518,
    "c": 0.23148,
    "h": 281
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#5338DB
secondary
#CFDA95
accent
#EC3CCF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5338DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5338DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva