#5F49DD#5F49DD

#5F49DD is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.0% C 0.214 H 282.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5F49DD
RGBrgb(95, 73, 221)
HSLhsl(249, 69%, 58%)
HSVhsv(249, 67%, 87%)
CMYKcmyk(57%, 67%, 0%, 13.3%)
CIE-LABlab(41.87, 48.69, -72.61)
CIE-LCHlch(41.87, 87.42, 303.84°)
OKLaboklab(51.97% 0.0473 -0.209)
OKLCHoklch(51.97% 0.214 282.8)
XYZxyz(20.1490, 12.4171, 69.7276)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49DD #C7DD49
analogous
#497DDD #5F49DD #A949DD
triadic
#5F49DD #DD5F49 #49DD5F
tetradic
#5F49DD #DD497D #C7DD49 #49DDA9
square
#5F49DD #DD497D #C7DD49 #49DDA9
split-complementary
#5F49DD #DDA949 #7DDD49
monochromatic
#2C1B91 #3C25C4 #5F49DD #8C7DE7 #BAB0F0

Accessibility & contrast

On white

6.03
#5F49DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5F49DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49DD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49DD#FFFFFF#000000##FFFFFF
##5F49DD1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#186F8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f49dd;
/* rgb */ color: rgb(95, 73, 221);
/* oklch */ color: oklch(52.0% 0.214 282.8);
Tailwind
colors: {
  custom: {
    50: '#997de9',
    500: '#5f49dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f49dd;
$custom-light: #997de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49dd",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 221
  },
  "hsl": {
    "h": 248.919,
    "s": 68.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.21425,
    "h": 282.8
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#5F49DD
secondary
#D6DFA3
accent
#EB3CD1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F49DD

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

Preview Lab → · Contrast checker → · Palette generator →

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