#5F61FB#5F61FB

#5F61FB is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.2% C 0.224 H 276.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5F61FB
RGBrgb(95, 97, 251)
HSLhsl(239, 95%, 68%)
HSVhsv(239, 62%, 98%)
CMYKcmyk(62.2%, 61.4%, 0%, 1.6%)
CIE-LABlab(49.43, 44.21, -77.17)
CIE-LCHlch(49.43, 88.94, 299.81°)
OKLaboklab(58.21% 0.0247 -0.2223)
OKLCHoklch(58.21% 0.224 276.3)
XYZxyz(26.4009, 17.9452, 93.3206)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F61FB #FBF95F
analogous
#5FAFFB #5F61FB #AB5FFB
triadic
#5F61FB #FB5F61 #61FB5F
tetradic
#5F61FB #FB5FAF #FBF95F #5FFBAB
square
#5F61FB #FB5FAF #FBF95F #5FFBAB
split-complementary
#5F61FB #FBAB5F #AFFB5F
monochromatic
#0508DA #2326FA #5F61FB #9B9CFC #D6D7FE

Accessibility & contrast

On white

4.58
#5F61FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5F61FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F61FB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F61FB#FFFFFF#000000##000000
##5F61FB1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#006FF8
Tritanopia (blue-blind)
#0088A5
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f61fb;
/* rgb */ color: rgb(95, 97, 251);
/* oklch */ color: oklch(58.2% 0.224 276.3);
Tailwind
colors: {
  custom: {
    50: '#9c8efe',
    500: '#5f61fb',
    950: '#000000',
  },
}
SCSS
$custom: #5f61fb;
$custom-light: #9c8efe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f61fb",
  "rgb": {
    "r": 95,
    "g": 97,
    "b": 251
  },
  "hsl": {
    "h": 239.231,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.58208,
    "c": 0.22363,
    "h": 276.3
  },
  "luminance": 0.17947
}

Semantic roles & 50–950 ramp

primary
#5F61FB
secondary
#F3F2C3
accent
#E300E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #5F61FB

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

Preview Lab → · Contrast checker → · Palette generator →

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