#5F65E6#5F65E6

#5F65E6 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.3% C 0.192 H 276.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5F65E6
RGBrgb(95, 101, 230)
HSLhsl(237, 73%, 64%)
HSVhsv(237, 59%, 90%)
CMYKcmyk(58.7%, 56.1%, 0%, 9.8%)
CIE-LABlab(48.82, 35.08, -66.40)
CIE-LCHlch(48.82, 75.09, 297.85°)
OKLaboklab(57.28% 0.0217 -0.1906)
OKLCHoklch(57.28% 0.192 276.5)
XYZxyz(23.6513, 17.4517, 76.9697)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65E6 #E6E05F
analogous
#5FA8E6 #5F65E6 #9C5FE6
triadic
#5F65E6 #E65F65 #65E65F
tetradic
#5F65E6 #E65FA8 #E6E05F #5FE69C
square
#5F65E6 #E65FA8 #E6E05F #5FE69C
split-complementary
#5F65E6 #E69C5F #A8E65F
monochromatic
#1B22AF #2A32DE #5F65E6 #9498EE #C9CBF7

Accessibility & contrast

On white

4.68
#5F65E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5F65E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F65E6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65E6#FFFFFF#000000##FFFFFF
##5F65E61.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f65e6;
/* rgb */ color: rgb(95, 101, 230);
/* oklch */ color: oklch(57.3% 0.192 276.5);
Tailwind
colors: {
  custom: {
    50: '#9891ef',
    500: '#5f65e6',
    950: '#000000',
  },
}
SCSS
$custom: #5f65e6;
$custom-light: #9891ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65e6",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 230
  },
  "hsl": {
    "h": 237.333,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57279,
    "c": 0.1918,
    "h": 276.5
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

primary
#5F65E6
secondary
#E8E6B9
accent
#CC10D5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5F65E6

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

Preview Lab → · Contrast checker → · Palette generator →

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