#5F65DF#5F65DF

#5F65DF is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.8% C 0.182 H 276.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5F65DF
RGBrgb(95, 101, 223)
HSLhsl(237, 67%, 62%)
HSVhsv(237, 57%, 87%)
CMYKcmyk(57.4%, 54.7%, 0%, 12.5%)
CIE-LABlab(48.34, 32.82, -63.22)
CIE-LCHlch(48.34, 71.23, 297.43°)
OKLaboklab(56.77% 0.0215 -0.1812)
OKLCHoklch(56.77% 0.183 276.8)
XYZxyz(22.6880, 17.0663, 71.8963)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65DF #DFD95F
analogous
#5FA5DF #5F65DF #995FDF
triadic
#5F65DF #DF5F65 #65DF5F
tetradic
#5F65DF #DF5FA5 #DFD95F #5FDF99
square
#5F65DF #DF5FA5 #DFD95F #5FDF99
split-complementary
#5F65DF #DF995F #A5DF5F
monochromatic
#2127A3 #2C34D5 #5F65DF #9296E9 #C5C7F3

Accessibility & contrast

On white

4.76
#5F65DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5F65DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F65DF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65DF#FFFFFF#000000##FFFFFF
##5F65DF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B78E3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#068198
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f65df;
/* rgb */ color: rgb(95, 101, 223);
/* oklch */ color: oklch(56.8% 0.182 276.8);
Tailwind
colors: {
  custom: {
    50: '#9791ea',
    500: '#5f65df',
    950: '#000000',
  },
}
SCSS
$custom: #5f65df;
$custom-light: #9791ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65df",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 223
  },
  "hsl": {
    "h": 237.188,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56768,
    "c": 0.1825,
    "h": 276.8
  },
  "luminance": 0.17068
}

Semantic roles & 50–950 ramp

primary
#5F65DF
secondary
#E4E2B6
accent
#C617CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5F65DF

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

Preview Lab → · Contrast checker → · Palette generator →

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