#5F65E5#5F65E5

#5F65E5 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.2% C 0.190 H 276.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5F65E5
RGBrgb(95, 101, 229)
HSLhsl(237, 72%, 64%)
HSVhsv(237, 59%, 90%)
CMYKcmyk(58.5%, 55.9%, 0%, 10.2%)
CIE-LABlab(48.75, 34.75, -65.95)
CIE-LCHlch(48.75, 74.54, 297.79°)
OKLaboklab(57.21% 0.0217 -0.1892)
OKLCHoklch(57.21% 0.19 276.5)
XYZxyz(23.5113, 17.3957, 76.2323)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65E5 #E5DF5F
analogous
#5FA8E5 #5F65E5 #9C5FE5
triadic
#5F65E5 #E55F65 #65E55F
tetradic
#5F65E5 #E55FA8 #E5DF5F #5FE59C
square
#5F65E5 #E55FA8 #E5DF5F #5FE59C
split-complementary
#5F65E5 #E59C5F #A8E55F
monochromatic
#1C23AD #2A32DC #5F65E5 #9498EE #C8CAF6

Accessibility & contrast

On white

4.69
#5F65E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5F65E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F65E5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65E5#FFFFFF#000000##FFFFFF
##5F65E51.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f65e5;
/* rgb */ color: rgb(95, 101, 229);
/* oklch */ color: oklch(57.2% 0.190 276.5);
Tailwind
colors: {
  custom: {
    50: '#9891ee',
    500: '#5f65e5',
    950: '#000000',
  },
}
SCSS
$custom: #5f65e5;
$custom-light: #9891ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65e5",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 229
  },
  "hsl": {
    "h": 237.313,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57205,
    "c": 0.19047,
    "h": 276.5
  },
  "luminance": 0.17397
}

Semantic roles & 50–950 ramp

primary
#5F65E5
secondary
#E8E6B8
accent
#CB11D4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5F65E5

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

Preview Lab → · Contrast checker → · Palette generator →

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