#5F43F1#5F43F1

#5F43F1 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.9% C 0.244 H 281.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5F43F1
RGBrgb(95, 67, 241)
HSLhsl(250, 86%, 60%)
HSVhsv(250, 72%, 95%)
CMYKcmyk(60.6%, 72.2%, 0%, 5.5%)
CIE-LABlab(42.45, 57.79, -83.00)
CIE-LCHlch(42.45, 101.14, 304.85°)
OKLaboklab(52.92% 0.0483 -0.2393)
OKLCHoklch(52.92% 0.244 281.4)
XYZxyz(22.5987, 12.7964, 84.4811)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F43F1 #D5F143
analogous
#437EF1 #5F43F1 #B643F1
triadic
#5F43F1 #F15F43 #43F15F
tetradic
#5F43F1 #F1437E #D5F143 #43F1B6
square
#5F43F1 #F1437E #D5F143 #43F1B6
split-complementary
#5F43F1 #F1B643 #7EF143
monochromatic
#270DAD #3311E6 #5F43F1 #8F7CF5 #C0B5F9

Accessibility & contrast

On white

5.90
#5F43F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5F43F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F43F1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F43F1#FFFFFF#000000##FFFFFF
##5F43F11.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF6
Deuteranopia (green-blind)
#005EEE
Tritanopia (blue-blind)
#007496
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5f43f1;
/* rgb */ color: rgb(95, 67, 241);
/* oklch */ color: oklch(52.9% 0.244 281.4);
Tailwind
colors: {
  custom: {
    50: '#9c7af7',
    500: '#5f43f1',
    950: '#000000',
  },
}
SCSS
$custom: #5f43f1;
$custom-light: #9c7af7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f43f1",
  "rgb": {
    "r": 95,
    "g": 67,
    "b": 241
  },
  "hsl": {
    "h": 249.655,
    "s": 86.139,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5292,
    "c": 0.24416,
    "h": 281.4
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#5F43F1
secondary
#DEE9A7
accent
#E303BF
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5F43F1

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

Preview Lab → · Contrast checker → · Palette generator →

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