#5F61EC#5F61EC

#5F61EC is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.0% C 0.205 H 277.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5F61EC
RGBrgb(95, 97, 236)
HSLhsl(239, 79%, 65%)
HSVhsv(239, 60%, 93%)
CMYKcmyk(59.7%, 58.9%, 0%, 7.5%)
CIE-LABlab(48.31, 39.41, -70.61)
CIE-LCHlch(48.31, 80.87, 299.17°)
OKLaboklab(57.03% 0.0253 -0.203)
OKLCHoklch(57.03% 0.205 277.1)
XYZxyz(24.1294, 17.0366, 81.3575)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F61EC #ECEA5F
analogous
#5FA7EC #5F61EC #A45FEC
triadic
#5F61EC #EC5F61 #61EC5F
tetradic
#5F61EC #EC5FA7 #ECEA5F #5FECA4
square
#5F61EC #EC5FA7 #ECEA5F #5FECA4
split-complementary
#5F61EC #ECA45F #A7EC5F
monochromatic
#1618BA #282BE6 #5F61EC #9697F2 #CCCDF9

Accessibility & contrast

On white

4.76
#5F61EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5F61EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F61EC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F61EC#FFFFFF#000000##FFFFFF
##5F61EC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f61ec;
/* rgb */ color: rgb(95, 97, 236);
/* oklch */ color: oklch(57.0% 0.205 277.1);
Tailwind
colors: {
  custom: {
    50: '#998ef3',
    500: '#5f61ec',
    950: '#000000',
  },
}
SCSS
$custom: #5f61ec;
$custom-light: #998ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f61ec",
  "rgb": {
    "r": 95,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 239.149,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57029,
    "c": 0.20457,
    "h": 277.1
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#5F61EC
secondary
#EBEBBB
accent
#D80ADB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F61EC

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

Preview Lab → · Contrast checker → · Palette generator →

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