#5F6DF6#5F6DF6

#5F6DF6 is a mid, highly saturated blue. Relative luminance 0.200; OKLCH L 59.9% C 0.203 H 274.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5F6DF6
RGBrgb(95, 109, 246)
HSLhsl(234, 89%, 67%)
HSVhsv(234, 61%, 96%)
CMYKcmyk(61.4%, 55.7%, 0%, 3.5%)
CIE-LABlab(51.86, 35.43, -70.43)
CIE-LCHlch(51.86, 78.84, 296.71°)
OKLaboklab(59.89% 0.0146 -0.2024)
OKLCHoklch(59.89% 0.203 274.1)
XYZxyz(26.8170, 20.0218, 89.6223)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DF6 #F6E85F
analogous
#5FB9F6 #5F6DF6 #9D5FF6
triadic
#5F6DF6 #F65F6D #6DF65F
tetradic
#5F6DF6 #F65FB9 #F6E85F #5FF69D
square
#5F6DF6 #F65FB9 #F6E85F #5FF69D
split-complementary
#5F6DF6 #F69D5F #B9F65F
monochromatic
#0C1ECF #2538F3 #5F6DF6 #99A2F9 #D3D7FD

Accessibility & contrast

On white

4.20
#5F6DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5F6DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6DF6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6DF6#FFFFFF#000000##000000
##5F6DF61.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#008EA7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f6df6;
/* rgb */ color: rgb(95, 109, 246);
/* oklch */ color: oklch(59.9% 0.203 274.1);
Tailwind
colors: {
  custom: {
    50: '#9a96fa',
    500: '#5f6df6',
    950: '#000000',
  },
}
SCSS
$custom: #5f6df6;
$custom-light: #9a96fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6df6",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 234.437,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59893,
    "c": 0.20289,
    "h": 274.1
  },
  "luminance": 0.20024
}

Semantic roles & 50–950 ramp

primary
#5F6DF6
secondary
#F1ECC0
accent
#D000E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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