#5F61E8#5F61E8

#5F61E8 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.7% C 0.199 H 277.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5F61E8
RGBrgb(95, 97, 232)
HSLhsl(239, 75%, 64%)
HSVhsv(239, 59%, 91%)
CMYKcmyk(59.1%, 58.2%, 0%, 9%)
CIE-LABlab(48.02, 38.13, -68.84)
CIE-LCHlch(48.02, 78.69, 298.99°)
OKLaboklab(56.72% 0.0254 -0.1978)
OKLCHoklch(56.72% 0.199 277.3)
XYZxyz(23.5548, 16.8067, 78.3311)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F61E8 #E8E65F
analogous
#5FA6E8 #5F61E8 #A25FE8
triadic
#5F61E8 #E85F61 #61E85F
tetradic
#5F61E8 #E85FA6 #E8E65F #5FE8A2
square
#5F61E8 #E85FA6 #E8E65F #5FE8A2
split-complementary
#5F61E8 #E8A25F #A6E85F
monochromatic
#1A1CB3 #292CE0 #5F61E8 #9596F0 #CACBF7

Accessibility & contrast

On white

4.81
#5F61E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5F61E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F61E8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F61E8#FFFFFF#000000##FFFFFF
##5F61E81.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f61e8;
/* rgb */ color: rgb(95, 97, 232);
/* oklch */ color: oklch(56.7% 0.199 277.3);
Tailwind
colors: {
  custom: {
    50: '#998ef0',
    500: '#5f61e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f61e8;
$custom-light: #998ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f61e8",
  "rgb": {
    "r": 95,
    "g": 97,
    "b": 232
  },
  "hsl": {
    "h": 239.124,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56723,
    "c": 0.19939,
    "h": 277.3
  },
  "luminance": 0.16808
}

Semantic roles & 50–950 ramp

primary
#5F61E8
secondary
#E9E9BA
accent
#D40ED7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F61E8

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

Preview Lab → · Contrast checker → · Palette generator →

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