#5F65EC#5F65EC

#5F65EC is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.7% C 0.200 H 276.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5F65EC
RGBrgb(95, 101, 236)
HSLhsl(237, 79%, 65%)
HSVhsv(237, 60%, 93%)
CMYKcmyk(59.7%, 57.2%, 0%, 7.5%)
CIE-LABlab(49.25, 37.01, -69.09)
CIE-LCHlch(49.25, 78.38, 298.18°)
OKLaboklab(57.73% 0.0217 -0.1985)
OKLCHoklch(57.73% 0.2 276.2)
XYZxyz(24.5084, 17.7945, 81.4838)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65EC #ECE65F
analogous
#5FABEC #5F65EC #A05FEC
triadic
#5F65EC #EC5F65 #65EC5F
tetradic
#5F65EC #EC5FAB #ECE65F #5FECA0
square
#5F65EC #EC5FAB #ECE65F #5FECA0
split-complementary
#5F65EC #ECA05F #ABEC5F
monochromatic
#161DBA #2830E6 #5F65EC #969AF2 #CCCEF9

Accessibility & contrast

On white

4.61
#5F65EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5F65EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F65EC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65EC#FFFFFF#000000##FFFFFF
##5F65EC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#00859F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f65ec;
/* rgb */ color: rgb(95, 101, 236);
/* oklch */ color: oklch(57.7% 0.200 276.2);
Tailwind
colors: {
  custom: {
    50: '#9991f3',
    500: '#5f65ec',
    950: '#000000',
  },
}
SCSS
$custom: #5f65ec;
$custom-light: #9991f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65ec",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 237.447,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57725,
    "c": 0.19966,
    "h": 276.2
  },
  "luminance": 0.17796
}

Semantic roles & 50–950 ramp

primary
#5F65EC
secondary
#EBE9BB
accent
#D20ADB
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F65EC

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

Preview Lab → · Contrast checker → · Palette generator →

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