#5F61FA#5F61FA

#5F61FA is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.1% C 0.222 H 276.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5F61FA
RGBrgb(95, 97, 250)
HSLhsl(239, 94%, 68%)
HSVhsv(239, 62%, 98%)
CMYKcmyk(62%, 61.2%, 0%, 2%)
CIE-LABlab(49.35, 43.89, -76.74)
CIE-LCHlch(49.35, 88.40, 299.77°)
OKLaboklab(58.13% 0.0248 -0.221)
OKLCHoklch(58.13% 0.222 276.4)
XYZxyz(26.2437, 17.8823, 92.4926)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F61FA #FAF85F
analogous
#5FAEFA #5F61FA #AB5FFA
triadic
#5F61FA #FA5F61 #61FA5F
tetradic
#5F61FA #FA5FAE #FAF85F #5FFAAB
square
#5F61FA #FA5FAE #FAF85F #5FFAAB
split-complementary
#5F61FA #FAAB5F #AEFA5F
monochromatic
#0709D8 #2426F8 #5F61FA #9A9CFC #D6D6FE

Accessibility & contrast

On white

4.59
#5F61FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5F61FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F61FA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F61FA#FFFFFF#000000##FFFFFF
##5F61FA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#006FF7
Tritanopia (blue-blind)
#0087A4
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f61fa;
/* rgb */ color: rgb(95, 97, 250);
/* oklch */ color: oklch(58.1% 0.222 276.4);
Tailwind
colors: {
  custom: {
    50: '#9c8efd',
    500: '#5f61fa',
    950: '#000000',
  },
}
SCSS
$custom: #5f61fa;
$custom-light: #9c8efd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f61fa",
  "rgb": {
    "r": 95,
    "g": 97,
    "b": 250
  },
  "hsl": {
    "h": 239.226,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.58128,
    "c": 0.22238,
    "h": 276.4
  },
  "luminance": 0.17884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F61FA

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

Preview Lab → · Contrast checker → · Palette generator →

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