#5F65F2#5F65F2

#5F65F2 is a mid, highly saturated blue. Relative luminance 0.182; OKLCH L 58.2% C 0.207 H 276.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5F65F2
RGBrgb(95, 101, 242)
HSLhsl(238, 85%, 66%)
HSVhsv(238, 61%, 95%)
CMYKcmyk(60.7%, 58.3%, 0%, 5.1%)
CIE-LABlab(49.68, 38.95, -71.75)
CIE-LCHlch(49.68, 81.64, 298.50°)
OKLaboklab(58.18% 0.0217 -0.2063)
OKLCHoklch(58.18% 0.207 276)
XYZxyz(25.3948, 18.1491, 86.1521)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65F2 #F2EC5F
analogous
#5FAEF2 #5F65F2 #A25FF2
triadic
#5F65F2 #F25F65 #65F25F
tetradic
#5F65F2 #F25FAE #F2EC5F #5FF2A2
square
#5F65F2 #F25FAE #F2EC5F #5FF2A2
split-complementary
#5F65F2 #F2A25F #AEF25F
monochromatic
#1018C6 #262FED #5F65F2 #989BF7 #D0D2FB

Accessibility & contrast

On white

4.54
#5F65F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5F65F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F65F2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65F2#FFFFFF#000000##000000
##5F65F21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#0087A2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f65f2;
/* rgb */ color: rgb(95, 101, 242);
/* oklch */ color: oklch(58.2% 0.207 276.0);
Tailwind
colors: {
  custom: {
    50: '#9a91f7',
    500: '#5f65f2',
    950: '#000000',
  },
}
SCSS
$custom: #5f65f2;
$custom-light: #9a91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65f2",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 237.551,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.5818,
    "c": 0.20744,
    "h": 276
  },
  "luminance": 0.18151
}

Semantic roles & 50–950 ramp

primary
#5F65F2
secondary
#EFEDBE
accent
#D804E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F65F2

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

Preview Lab → · Contrast checker → · Palette generator →

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