#5F65CC#5F65CC

#5F65CC is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.4% C 0.157 H 277.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5F65CC
RGBrgb(95, 101, 204)
HSLhsl(237, 52%, 59%)
HSVhsv(237, 53%, 80%)
CMYKcmyk(53.4%, 50.5%, 0%, 20%)
CIE-LABlab(47.10, 26.72, -54.40)
CIE-LCHlch(47.10, 60.60, 296.16°)
OKLaboklab(55.44% 0.0204 -0.1553)
OKLCHoklch(55.44% 0.157 277.5)
XYZxyz(20.2686, 16.0986, 59.1543)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65CC #CCC65F
analogous
#5F9BCC #5F65CC #8F5FCC
triadic
#5F65CC #CC5F65 #65CC5F
tetradic
#5F65CC #CC5F9B #CCC65F #5FCC8F
square
#5F65CC #CC5F9B #CCC65F #5FCC8F
split-complementary
#5F65CC #CC8F5F #9BCC5F
monochromatic
#2B3086 #3940B4 #5F65CC #8D92DB #BCBEEA

Accessibility & contrast

On white

4.98
#5F65CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5F65CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F65CC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65CC#FFFFFF#000000##FFFFFF
##5F65CC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3174D0
Deuteranopia (green-blind)
#226BCA
Tritanopia (blue-blind)
#2D7C8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f65cc;
/* rgb */ color: rgb(95, 101, 204);
/* oklch */ color: oklch(55.4% 0.157 277.5);
Tailwind
colors: {
  custom: {
    50: '#9490dc',
    500: '#5f65cc',
    950: '#000000',
  },
}
SCSS
$custom: #5f65cc;
$custom-light: #9490dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65cc",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 236.697,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55443,
    "c": 0.15659,
    "h": 277.5
  },
  "luminance": 0.161
}

Semantic roles & 50–950 ramp

primary
#5F65CC
secondary
#D9D7AE
accent
#D34DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F65CC

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

Preview Lab → · Contrast checker → · Palette generator →

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