#5F5ADD#5F5ADD

#5F5ADD is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.7% C 0.194 H 279.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5F5ADD
RGBrgb(95, 90, 221)
HSLhsl(242, 66%, 61%)
HSVhsv(242, 59%, 87%)
CMYKcmyk(57%, 59.3%, 0%, 13.3%)
CIE-LABlab(45.59, 38.83, -66.56)
CIE-LCHlch(45.59, 77.06, 300.26°)
OKLaboklab(54.68% 0.0321 -0.1911)
OKLCHoklch(54.68% 0.194 279.5)
XYZxyz(21.4225, 14.9642, 70.1521)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5ADD #D8DD5A
analogous
#5A96DD #5F5ADD #A05ADD
triadic
#5F5ADD #DD5F5A #5ADD5F
tetradic
#5F5ADD #DD5A96 #D8DD5A #5ADDA0
square
#5F5ADD #DD5A96 #D8DD5A #5ADDA0
split-complementary
#5F5ADD #DDA05A #96DD5A
monochromatic
#25209C #312BCF #5F5ADD #908DE7 #C1BFF2

Accessibility & contrast

On white

5.26
#5F5ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5F5ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5ADD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5ADD#FFFFFF#000000##FFFFFF
##5F5ADD1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#137A93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f5add;
/* rgb */ color: rgb(95, 90, 221);
/* oklch */ color: oklch(54.7% 0.194 279.5);
Tailwind
colors: {
  custom: {
    50: '#9789e8',
    500: '#5f5add',
    950: '#000000',
  },
}
SCSS
$custom: #5f5add;
$custom-light: #9789e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5add",
  "rgb": {
    "r": 95,
    "g": 90,
    "b": 221
  },
  "hsl": {
    "h": 242.29,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54678,
    "c": 0.1938,
    "h": 279.5
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#5F5ADD
secondary
#E0E2B1
accent
#CE18C7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5F5ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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