#5F6BF1#5F6BF1

#5F6BF1 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.2% C 0.199 H 274.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5F6BF1
RGBrgb(95, 107, 241)
HSLhsl(235, 84%, 66%)
HSVhsv(235, 61%, 95%)
CMYKcmyk(60.6%, 55.6%, 0%, 5.5%)
CIE-LABlab(51.03, 35.01, -68.99)
CIE-LCHlch(51.03, 77.36, 296.91°)
OKLaboklab(59.17% 0.0163 -0.1981)
OKLCHoklch(59.17% 0.199 274.7)
XYZxyz(25.8490, 19.2971, 85.5646)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BF1 #F1E55F
analogous
#5FB4F1 #5F6BF1 #9C5FF1
triadic
#5F6BF1 #F15F6B #6BF15F
tetradic
#5F6BF1 #F15FB4 #F1E55F #5FF19C
square
#5F6BF1 #F15FB4 #F1E55F #5FF19C
split-complementary
#5F6BF1 #F19C5F #B4F15F
monochromatic
#1120C4 #2737EC #5F6BF1 #979FF6 #D0D3FB

Accessibility & contrast

On white

4.32
#5F6BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5F6BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6BF1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BF1#FFFFFF#000000##000000
##5F6BF11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#0073EE
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f6bf1;
/* rgb */ color: rgb(95, 107, 241);
/* oklch */ color: oklch(59.2% 0.199 274.7);
Tailwind
colors: {
  custom: {
    50: '#9995f6',
    500: '#5f6bf1',
    950: '#000000',
  },
}
SCSS
$custom: #5f6bf1;
$custom-light: #9995f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6bf1",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 241
  },
  "hsl": {
    "h": 235.068,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59165,
    "c": 0.19881,
    "h": 274.7
  },
  "luminance": 0.19299
}

Semantic roles & 50–950 ramp

primary
#5F6BF1
secondary
#EEEABE
accent
#CE05E0
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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