#5F65E7#5F65E7

#5F65E7 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.4% C 0.193 H 276.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5F65E7
RGBrgb(95, 101, 231)
HSLhsl(237, 74%, 64%)
HSVhsv(237, 59%, 91%)
CMYKcmyk(58.9%, 56.3%, 0%, 9.4%)
CIE-LABlab(48.89, 35.40, -66.85)
CIE-LCHlch(48.89, 75.64, 297.90°)
OKLaboklab(57.35% 0.0217 -0.1919)
OKLCHoklch(57.35% 0.193 276.4)
XYZxyz(23.7921, 17.5080, 77.7114)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65E7 #E7E15F
analogous
#5FA9E7 #5F65E7 #9D5FE7
triadic
#5F65E7 #E75F65 #65E75F
tetradic
#5F65E7 #E75FA9 #E7E15F #5FE79D
square
#5F65E7 #E75FA9 #E7E15F #5FE79D
split-complementary
#5F65E7 #E79D5F #A9E75F
monochromatic
#1B21B1 #2A32DF #5F65E7 #9498EF #C9CBF7

Accessibility & contrast

On white

4.66
#5F65E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#5F65E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F65E7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65E7#FFFFFF#000000##FFFFFF
##5F65E71.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f65e7;
/* rgb */ color: rgb(95, 101, 231);
/* oklch */ color: oklch(57.4% 0.193 276.4);
Tailwind
colors: {
  custom: {
    50: '#9891ef',
    500: '#5f65e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f65e7;
$custom-light: #9891ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65e7",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 231
  },
  "hsl": {
    "h": 237.353,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57352,
    "c": 0.19311,
    "h": 276.4
  },
  "luminance": 0.1751
}

Semantic roles & 50–950 ramp

primary
#5F65E7
secondary
#E9E7B9
accent
#CD0FD6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F65E7

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

Preview Lab → · Contrast checker → · Palette generator →

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