#5F65CD#5F65CD

#5F65CD is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.5% C 0.158 H 277.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5F65CD
RGBrgb(95, 101, 205)
HSLhsl(237, 52%, 59%)
HSVhsv(237, 54%, 80%)
CMYKcmyk(53.7%, 50.7%, 0%, 19.6%)
CIE-LABlab(47.17, 27.04, -54.87)
CIE-LCHlch(47.17, 61.17, 296.24°)
OKLaboklab(55.51% 0.0205 -0.1567)
OKLCHoklch(55.51% 0.158 277.4)
XYZxyz(20.3890, 16.1467, 59.7880)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65CD #CDC75F
analogous
#5F9CCD #5F65CD #905FCD
triadic
#5F65CD #CD5F65 #65CD5F
tetradic
#5F65CD #CD5F9C #CDC75F #5FCD90
square
#5F65CD #CD5F9C #CDC75F #5FCD90
split-complementary
#5F65CD #CD905F #9CCD5F
monochromatic
#2A2F87 #3940B6 #5F65CD #8E92DC #BCBFEA

Accessibility & contrast

On white

4.97
#5F65CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5F65CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F65CD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65CD#FFFFFF#000000##FFFFFF
##5F65CD1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3074D1
Deuteranopia (green-blind)
#216CCB
Tritanopia (blue-blind)
#2B7C8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f65cd;
/* rgb */ color: rgb(95, 101, 205);
/* oklch */ color: oklch(55.5% 0.158 277.4);
Tailwind
colors: {
  custom: {
    50: '#9490dd',
    500: '#5f65cd',
    950: '#000000',
  },
}
SCSS
$custom: #5f65cd;
$custom-light: #9490dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65cd",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 236.727,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5551,
    "c": 0.15798,
    "h": 277.4
  },
  "luminance": 0.16148
}

Semantic roles & 50–950 ramp

primary
#5F65CD
secondary
#DAD7AE
accent
#D44CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F65CD

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

Preview Lab → · Contrast checker → · Palette generator →

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