#5F53BA#5F53BA

#5F53BA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.156 H 284.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5F53BA
RGBrgb(95, 83, 186)
HSLhsl(247, 43%, 53%)
HSVhsv(247, 55%, 73%)
CMYKcmyk(48.9%, 55.4%, 0%, 27.1%)
CIE-LABlab(41.48, 32.16, -53.03)
CIE-LCHlch(41.48, 62.02, 301.23°)
OKLaboklab(50.86% 0.0396 -0.1514)
OKLCHoklch(50.86% 0.156 284.7)
XYZxyz(16.6729, 12.1638, 47.9142)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53BA #AEBA53
analogous
#537BBA #5F53BA #9253BA
triadic
#5F53BA #BA5F53 #53BA5F
tetradic
#5F53BA #BA537B #AEBA53 #53BA92
square
#5F53BA #BA537B #AEBA53 #53BA92
split-complementary
#5F53BA #BA9253 #7BBA53
monochromatic
#312A69 #463B94 #5F53BA #887FCC #B0AADD

Accessibility & contrast

On white

6.12
#5F53BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5F53BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53BA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53BA#FFFFFF#000000##FFFFFF
##5F53BA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1665BE
Deuteranopia (green-blind)
#0E5FB8
Tritanopia (blue-blind)
#3F6A7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f53ba;
/* rgb */ color: rgb(95, 83, 186);
/* oklch */ color: oklch(50.9% 0.156 284.7);
Tailwind
colors: {
  custom: {
    50: '#9383cf',
    500: '#5f53ba',
    950: '#000000',
  },
}
SCSS
$custom: #5f53ba;
$custom-light: #9383cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53ba",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 186
  },
  "hsl": {
    "h": 246.99,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5086,
    "c": 0.15646,
    "h": 284.7
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#5F53BA
secondary
#C6CB9E
accent
#D355C4
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5F53BA

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

Preview Lab → · Contrast checker → · Palette generator →

#5F53BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva