#5F6AF6#5F6AF6

#5F6AF6 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.4% C 0.207 H 274.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5F6AF6
RGBrgb(95, 106, 246)
HSLhsl(236, 89%, 67%)
HSVhsv(236, 61%, 96%)
CMYKcmyk(61.4%, 56.9%, 0%, 3.5%)
CIE-LABlab(51.14, 37.24, -71.60)
CIE-LCHlch(51.14, 80.70, 297.48°)
OKLaboklab(59.36% 0.0173 -0.2058)
OKLCHoklch(59.36% 0.207 274.8)
XYZxyz(26.5024, 19.3926, 89.5174)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6AF6 #F6EB5F
analogous
#5FB6F6 #5F6AF6 #A05FF6
triadic
#5F6AF6 #F65F6A #6AF65F
tetradic
#5F6AF6 #F65FB6 #F6EB5F #5FF6A0
square
#5F6AF6 #F65FB6 #F6EB5F #5FF6A0
split-complementary
#5F6AF6 #F6A05F #B6F65F
monochromatic
#0C1ACF #2534F3 #5F6AF6 #99A0F9 #D3D6FD

Accessibility & contrast

On white

4.30
#5F6AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5F6AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6AF6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6AF6#FFFFFF#000000##000000
##5F6AF61.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#0073F3
Tritanopia (blue-blind)
#008CA6
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f6af6;
/* rgb */ color: rgb(95, 106, 246);
/* oklch */ color: oklch(59.4% 0.207 274.8);
Tailwind
colors: {
  custom: {
    50: '#9a94fa',
    500: '#5f6af6',
    950: '#000000',
  },
}
SCSS
$custom: #5f6af6;
$custom-light: #9a94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6af6",
  "rgb": {
    "r": 95,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 235.629,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59358,
    "c": 0.20654,
    "h": 274.8
  },
  "luminance": 0.19395
}

Semantic roles & 50–950 ramp

primary
#5F6AF6
secondary
#F1EDC0
accent
#D500E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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