#5F61EF#5F61EF

#5F61EF is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.3% C 0.208 H 277.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5F61EF
RGBrgb(95, 97, 239)
HSLhsl(239, 82%, 65%)
HSVhsv(239, 60%, 94%)
CMYKcmyk(60.3%, 59.4%, 0%, 6.3%)
CIE-LABlab(48.53, 40.38, -71.94)
CIE-LCHlch(48.53, 82.49, 299.30°)
OKLaboklab(57.26% 0.0252 -0.2069)
OKLCHoklch(57.26% 0.208 277)
XYZxyz(24.5690, 17.2124, 83.6722)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F61EF #EFED5F
analogous
#5FA9EF #5F61EF #A55FEF
triadic
#5F61EF #EF5F61 #61EF5F
tetradic
#5F61EF #EF5FA9 #EFED5F #5FEFA5
square
#5F61EF #EF5FA9 #EFED5F #5FEFA5
split-complementary
#5F61EF #EFA55F #A9EF5F
monochromatic
#1316C0 #272AE9 #5F61EF #9798F5 #CECFFA

Accessibility & contrast

On white

4.73
#5F61EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5F61EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F61EF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F61EF#FFFFFF#000000##FFFFFF
##5F61EF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f61ef;
/* rgb */ color: rgb(95, 97, 239);
/* oklch */ color: oklch(57.3% 0.208 277.0);
Tailwind
colors: {
  custom: {
    50: '#9a8ef5',
    500: '#5f61ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f61ef;
$custom-light: #9a8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f61ef",
  "rgb": {
    "r": 95,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 239.167,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57261,
    "c": 0.20843,
    "h": 277
  },
  "luminance": 0.17214
}

Semantic roles & 50–950 ramp

primary
#5F61EF
secondary
#EDECBD
accent
#DB07DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F61EF

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

Preview Lab → · Contrast checker → · Palette generator →

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