#5F61EA#5F61EA

#5F61EA is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 56.9% C 0.202 H 277.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5F61EA
RGBrgb(95, 97, 234)
HSLhsl(239, 77%, 65%)
HSVhsv(239, 59%, 92%)
CMYKcmyk(59.4%, 58.5%, 0%, 8.2%)
CIE-LABlab(48.16, 38.77, -69.73)
CIE-LCHlch(48.16, 79.78, 299.08°)
OKLaboklab(56.88% 0.0254 -0.2004)
OKLCHoklch(56.88% 0.202 277.2)
XYZxyz(23.8405, 16.9210, 79.8357)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F61EA #EAE85F
analogous
#5FA6EA #5F61EA #A35FEA
triadic
#5F61EA #EA5F61 #61EA5F
tetradic
#5F61EA #EA5FA6 #EAE85F #5FEAA3
square
#5F61EA #EA5FA6 #EAE85F #5FEAA3
split-complementary
#5F61EA #EAA35F #A6EA5F
monochromatic
#181AB7 #292CE3 #5F61EA #9596F1 #CBCCF8

Accessibility & contrast

On white

4.79
#5F61EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5F61EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F61EA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F61EA#FFFFFF#000000##FFFFFF
##5F61EA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f61ea;
/* rgb */ color: rgb(95, 97, 234);
/* oklch */ color: oklch(56.9% 0.202 277.2);
Tailwind
colors: {
  custom: {
    50: '#998ef2',
    500: '#5f61ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f61ea;
$custom-light: #998ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f61ea",
  "rgb": {
    "r": 95,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 239.137,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56876,
    "c": 0.20199,
    "h": 277.2
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#5F61EA
secondary
#EAEABA
accent
#D60CD9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F61EA

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

Preview Lab → · Contrast checker → · Palette generator →

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