#5F48E9#5F48E9

#5F48E9 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.9% C 0.230 H 281.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5F48E9
RGBrgb(95, 72, 233)
HSLhsl(249, 79%, 60%)
HSVhsv(249, 69%, 91%)
CMYKcmyk(59.2%, 69.1%, 0%, 8.6%)
CIE-LABlab(42.69, 52.82, -78.10)
CIE-LCHlch(42.69, 94.28, 304.07°)
OKLaboklab(52.87% 0.0463 -0.225)
OKLCHoklch(52.87% 0.23 281.6)
XYZxyz(21.7401, 12.9493, 78.4289)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F48E9 #D2E948
analogous
#4882E9 #5F48E9 #AF48E9
triadic
#5F48E9 #E95F48 #48E95F
tetradic
#5F48E9 #E94882 #D2E948 #48E9AF
square
#5F48E9 #E94882 #D2E948 #48E9AF
split-complementary
#5F48E9 #E9AF48 #82E948
monochromatic
#2814A3 #361ADA #5F48E9 #8F7FF0 #BFB5F6

Accessibility & contrast

On white

5.85
#5F48E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5F48E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F48E9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F48E9#FFFFFF#000000##FFFFFF
##5F48E91.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEE
Deuteranopia (green-blind)
#005FE6
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f48e9;
/* rgb */ color: rgb(95, 72, 233);
/* oklch */ color: oklch(52.9% 0.230 281.6);
Tailwind
colors: {
  custom: {
    50: '#9a7df1',
    500: '#5f48e9',
    950: '#000000',
  },
}
SCSS
$custom: #5f48e9;
$custom-light: #9a7df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f48e9",
  "rgb": {
    "r": 95,
    "g": 72,
    "b": 233
  },
  "hsl": {
    "h": 248.571,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.22974,
    "h": 281.6
  },
  "luminance": 0.12951
}

Semantic roles & 50–950 ramp

primary
#5F48E9
secondary
#DDE6A7
accent
#F533D9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F48E9

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

Preview Lab → · Contrast checker → · Palette generator →

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