#5F48FB#5F48FB

#5F48FB is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.5% C 0.251 H 279.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5F48FB
RGBrgb(95, 72, 251)
HSLhsl(248, 96%, 63%)
HSVhsv(248, 71%, 98%)
CMYKcmyk(62.2%, 71.3%, 0%, 1.6%)
CIE-LABlab(44.28, 58.15, -85.61)
CIE-LCHlch(44.28, 103.49, 304.19°)
OKLaboklab(54.49% 0.043 -0.247)
OKLCHoklch(54.49% 0.251 279.9)
XYZxyz(24.4437, 14.0308, 92.6682)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F48FB #E4FB48
analogous
#488BFB #5F48FB #B848FB
triadic
#5F48FB #FB5F48 #48FB5F
tetradic
#5F48FB #FB488B #E4FB48 #48FBB8
square
#5F48FB #FB488B #E4FB48 #48FBB8
split-complementary
#5F48FB #FBB848 #8BFB48
monochromatic
#1D04C4 #2B0CFA #5F48FB #9384FC #C8C0FE

Accessibility & contrast

On white

5.52
#5F48FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5F48FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F48FB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F48FB#FFFFFF#000000##FFFFFF
##5F48FB1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#0062F8
Tritanopia (blue-blind)
#007A9D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f48fb;
/* rgb */ color: rgb(95, 72, 251);
/* oklch */ color: oklch(54.5% 0.251 279.9);
Tailwind
colors: {
  custom: {
    50: '#9d7efe',
    500: '#5f48fb',
    950: '#000000',
  },
}
SCSS
$custom: #5f48fb;
$custom-light: #9d7efe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f48fb",
  "rgb": {
    "r": 95,
    "g": 72,
    "b": 251
  },
  "hsl": {
    "h": 247.709,
    "s": 95.722,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54486,
    "c": 0.25072,
    "h": 279.9
  },
  "luminance": 0.14033
}

Semantic roles & 50–950 ramp

primary
#5F48FB
secondary
#E7EFB0
accent
#E600C8
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5F48FB

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

Preview Lab → · Contrast checker → · Palette generator →

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