#5F65E4#5F65E4

#5F65E4 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.1% C 0.189 H 276.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5F65E4
RGBrgb(95, 101, 228)
HSLhsl(237, 71%, 63%)
HSVhsv(237, 58%, 89%)
CMYKcmyk(58.3%, 55.7%, 0%, 10.6%)
CIE-LABlab(48.69, 34.43, -65.49)
CIE-LCHlch(48.69, 73.99, 297.73°)
OKLaboklab(57.13% 0.0216 -0.1879)
OKLCHoklch(57.13% 0.189 276.6)
XYZxyz(23.3721, 17.3400, 75.4991)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65E4 #E4DE5F
analogous
#5FA7E4 #5F65E4 #9B5FE4
triadic
#5F65E4 #E45F65 #65E45F
tetradic
#5F65E4 #E45FA7 #E4DE5F #5FE49B
square
#5F65E4 #E45FA7 #E4DE5F #5FE49B
split-complementary
#5F65E4 #E49B5F #A7E45F
monochromatic
#1D23AC #2B33DB #5F65E4 #9397ED #C8CAF6

Accessibility & contrast

On white

4.70
#5F65E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5F65E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F65E4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65E4#FFFFFF#000000##FFFFFF
##5F65E41.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f65e4;
/* rgb */ color: rgb(95, 101, 228);
/* oklch */ color: oklch(57.1% 0.189 276.6);
Tailwind
colors: {
  custom: {
    50: '#9891ed',
    500: '#5f65e4',
    950: '#000000',
  },
}
SCSS
$custom: #5f65e4;
$custom-light: #9891ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65e4",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 228
  },
  "hsl": {
    "h": 237.293,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57131,
    "c": 0.18915,
    "h": 276.6
  },
  "luminance": 0.17342
}

Semantic roles & 50–950 ramp

primary
#5F65E4
secondary
#E7E5B8
accent
#CA12D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5F65E4

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

Preview Lab → · Contrast checker → · Palette generator →

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