#5F65EF#5F65EF

#5F65EF is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 58.0% C 0.204 H 276.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5F65EF
RGBrgb(95, 101, 239)
HSLhsl(238, 82%, 65%)
HSVhsv(238, 60%, 94%)
CMYKcmyk(60.3%, 57.7%, 0%, 6.3%)
CIE-LABlab(49.46, 37.98, -70.42)
CIE-LCHlch(49.46, 80.01, 298.34°)
OKLaboklab(57.95% 0.0217 -0.2024)
OKLCHoklch(57.95% 0.204 276.1)
XYZxyz(24.9479, 17.9703, 83.7986)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65EF #EFE95F
analogous
#5FADEF #5F65EF #A15FEF
triadic
#5F65EF #EF5F65 #65EF5F
tetradic
#5F65EF #EF5FAD #EFE95F #5FEFA1
square
#5F65EF #EF5FAD #EFE95F #5FEFA1
split-complementary
#5F65EF #EFA15F #ADEF5F
monochromatic
#131AC0 #272FE9 #5F65EF #979BF5 #CED0FA

Accessibility & contrast

On white

4.57
#5F65EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5F65EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F65EF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65EF#FFFFFF#000000##000000
##5F65EF1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#0086A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f65ef;
/* rgb */ color: rgb(95, 101, 239);
/* oklch */ color: oklch(58.0% 0.204 276.1);
Tailwind
colors: {
  custom: {
    50: '#9a91f5',
    500: '#5f65ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f65ef;
$custom-light: #9a91f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65ef",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 239
  },
  "hsl": {
    "h": 237.5,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57951,
    "c": 0.20356,
    "h": 276.1
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

primary
#5F65EF
secondary
#EDEBBD
accent
#D507DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F65EF

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

Preview Lab → · Contrast checker → · Palette generator →

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