#5F65E9#5F65E9

#5F65E9 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.5% C 0.196 H 276.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5F65E9
RGBrgb(95, 101, 233)
HSLhsl(237, 76%, 64%)
HSVhsv(237, 59%, 91%)
CMYKcmyk(59.2%, 56.7%, 0%, 8.6%)
CIE-LABlab(49.03, 36.05, -67.75)
CIE-LCHlch(49.03, 76.74, 298.02°)
OKLaboklab(57.5% 0.0217 -0.1945)
OKLCHoklch(57.5% 0.196 276.4)
XYZxyz(24.0762, 17.6216, 79.2076)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65E9 #E9E35F
analogous
#5FAAE9 #5F65E9 #9E5FE9
triadic
#5F65E9 #E95F65 #65E95F
tetradic
#5F65E9 #E95FAA #E9E35F #5FE99E
square
#5F65E9 #E95FAA #E9E35F #5FE99E
split-complementary
#5F65E9 #E99E5F #AAE95F
monochromatic
#1920B5 #2931E2 #5F65E9 #9599F0 #CBCDF8

Accessibility & contrast

On white

4.64
#5F65E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5F65E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F65E9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65E9#FFFFFF#000000##FFFFFF
##5F65E91.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#006FE6
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f65e9;
/* rgb */ color: rgb(95, 101, 233);
/* oklch */ color: oklch(57.5% 0.196 276.4);
Tailwind
colors: {
  custom: {
    50: '#9991f1',
    500: '#5f65e9',
    950: '#000000',
  },
}
SCSS
$custom: #5f65e9;
$custom-light: #9991f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65e9",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 233
  },
  "hsl": {
    "h": 237.391,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.19575,
    "h": 276.4
  },
  "luminance": 0.17623
}

Semantic roles & 50–950 ramp

primary
#5F65E9
secondary
#EAE8BA
accent
#CF0DD8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F65E9

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

Preview Lab → · Contrast checker → · Palette generator →

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