#5F53F2#5F53F2

#5F53F2 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.3% C 0.229 H 279.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5F53F2
RGBrgb(95, 83, 242)
HSLhsl(245, 86%, 64%)
HSVhsv(245, 66%, 95%)
CMYKcmyk(60.7%, 65.7%, 0%, 5.1%)
CIE-LABlab(45.67, 49.47, -78.28)
CIE-LCHlch(45.67, 92.60, 302.29°)
OKLaboklab(55.25% 0.0366 -0.2256)
OKLCHoklch(55.25% 0.229 279.2)
XYZxyz(23.8345, 15.0284, 85.6320)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53F2 #E6F253
analogous
#5396F2 #5F53F2 #AE53F2
triadic
#5F53F2 #F25F53 #53F25F
tetradic
#5F53F2 #F25396 #E6F253 #53F2AE
square
#5F53F2 #F25396 #E6F253 #53F2AE
split-complementary
#5F53F2 #F2AE53 #96F253
monochromatic
#1B0EBC #2A1AEE #5F53F2 #948CF6 #C9C5FB

Accessibility & contrast

On white

5.24
#5F53F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5F53F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53F2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53F2#FFFFFF#000000##FFFFFF
##5F53F21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0066EF
Tritanopia (blue-blind)
#007C9C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f53f2;
/* rgb */ color: rgb(95, 83, 242);
/* oklch */ color: oklch(55.3% 0.229 279.2);
Tailwind
colors: {
  custom: {
    50: '#9b84f8',
    500: '#5f53f2',
    950: '#000000',
  },
}
SCSS
$custom: #5f53f2;
$custom-light: #9b84f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53f2",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 242
  },
  "hsl": {
    "h": 244.528,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5525,
    "c": 0.22852,
    "h": 279.2
  },
  "luminance": 0.1503
}

Semantic roles & 50–950 ramp

primary
#5F53F2
secondary
#E8ECB4
accent
#E203D2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #5F53F2

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

Preview Lab → · Contrast checker → · Palette generator →

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