#5F6DF1#5F6DF1

#5F6DF1 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.5% C 0.196 H 274.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5F6DF1
RGBrgb(95, 109, 241)
HSLhsl(234, 84%, 66%)
HSVhsv(234, 61%, 95%)
CMYKcmyk(60.6%, 54.8%, 0%, 5.5%)
CIE-LABlab(51.52, 33.80, -68.20)
CIE-LCHlch(51.52, 76.12, 296.36°)
OKLaboklab(59.53% 0.0145 -0.1958)
OKLCHoklch(59.53% 0.196 274.2)
XYZxyz(26.0599, 19.7190, 85.6349)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DF1 #F1E35F
analogous
#5FB6F1 #5F6DF1 #9A5FF1
triadic
#5F6DF1 #F15F6D #6DF15F
tetradic
#5F6DF1 #F15FB6 #F1E35F #5FF19A
square
#5F6DF1 #F15FB6 #F1E35F #5FF19A
split-complementary
#5F6DF1 #F19A5F #B6F15F
monochromatic
#1122C4 #273AEC #5F6DF1 #97A0F6 #D0D4FB

Accessibility & contrast

On white

4.25
#5F6DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5F6DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6DF1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6DF1#FFFFFF#000000##000000
##5F6DF11.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#008CA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f6df1;
/* rgb */ color: rgb(95, 109, 241);
/* oklch */ color: oklch(59.5% 0.196 274.2);
Tailwind
colors: {
  custom: {
    50: '#9996f6',
    500: '#5f6df1',
    950: '#000000',
  },
}
SCSS
$custom: #5f6df1;
$custom-light: #9996f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6df1",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 241
  },
  "hsl": {
    "h": 234.247,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59527,
    "c": 0.19633,
    "h": 274.2
  },
  "luminance": 0.19721
}

Semantic roles & 50–950 ramp

primary
#5F6DF1
secondary
#EEE9BE
accent
#CB05E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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