#5F6BE9#5F6BE9

#5F6BE9 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.6% C 0.188 H 274.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5F6BE9
RGBrgb(95, 107, 233)
HSLhsl(235, 76%, 64%)
HSVhsv(235, 59%, 91%)
CMYKcmyk(59.2%, 54.1%, 0%, 8.6%)
CIE-LABlab(50.49, 32.40, -65.39)
CIE-LCHlch(50.49, 72.98, 296.36°)
OKLaboklab(58.58% 0.016 -0.1876)
OKLCHoklch(58.58% 0.188 274.9)
XYZxyz(24.6802, 18.8296, 79.4089)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BE9 #E9DD5F
analogous
#5FB0E9 #5F6BE9 #985FE9
triadic
#5F6BE9 #E95F6B #6BE95F
tetradic
#5F6BE9 #E95FB0 #E9DD5F #5FE998
square
#5F6BE9 #E95FB0 #E9DD5F #5FE998
split-complementary
#5F6BE9 #E9985F #B0E95F
monochromatic
#1926B5 #2939E2 #5F6BE9 #959DF0 #CBCFF8

Accessibility & contrast

On white

4.41
#5F6BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5F6BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6BE9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BE9#FFFFFF#000000##000000
##5F6BE91.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#107EED
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#0088A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f6be9;
/* rgb */ color: rgb(95, 107, 233);
/* oklch */ color: oklch(58.6% 0.188 274.9);
Tailwind
colors: {
  custom: {
    50: '#9895f1',
    500: '#5f6be9',
    950: '#000000',
  },
}
SCSS
$custom: #5f6be9;
$custom-light: #9895f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6be9",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 233
  },
  "hsl": {
    "h": 234.783,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58584,
    "c": 0.18825,
    "h": 274.9
  },
  "luminance": 0.18831
}

Semantic roles & 50–950 ramp

primary
#5F6BE9
secondary
#EAE6BA
accent
#C60DD8
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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