#5F4BDB#5F4BDB

#5F4BDB is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.209 H 282.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5F4BDB
RGBrgb(95, 75, 219)
HSLhsl(248, 67%, 58%)
HSVhsv(248, 66%, 86%)
CMYKcmyk(56.6%, 65.8%, 0%, 14.1%)
CIE-LABlab(42.12, 46.96, -71.06)
CIE-LCHlch(42.12, 85.18, 303.46°)
OKLaboklab(52.1% 0.0459 -0.2044)
OKLCHoklch(52.1% 0.21 282.7)
XYZxyz(20.0176, 12.5783, 68.3771)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4BDB #C7DB4B
analogous
#4B7FDB #5F4BDB #A74BDB
triadic
#5F4BDB #DB5F4B #4BDB5F
tetradic
#5F4BDB #DB4B7F #C7DB4B #4BDBA7
square
#5F4BDB #DB4B7F #C7DB4B #4BDBA7
split-complementary
#5F4BDB #DBA74B #7FDB4B
monochromatic
#2C1D8F #3C27C2 #5F4BDB #8C7EE5 #BAB1EF

Accessibility & contrast

On white

5.97
#5F4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5F4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4BDB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4BDB#FFFFFF#000000##FFFFFF
##5F4BDB1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#1C708D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f4bdb;
/* rgb */ color: rgb(95, 75, 219);
/* oklch */ color: oklch(52.1% 0.209 282.7);
Tailwind
colors: {
  custom: {
    50: '#987fe7',
    500: '#5f4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #5f4bdb;
$custom-light: #987fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4bdb",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 248.333,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52101,
    "c": 0.2095,
    "h": 282.7
  },
  "luminance": 0.1258
}

Semantic roles & 50–950 ramp

primary
#5F4BDB
secondary
#D6DEA4
accent
#EA3ED2
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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