#5F65C8#5F65C8

#5F65C8 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.2% C 0.151 H 277.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5F65C8
RGBrgb(95, 101, 200)
HSLhsl(237, 49%, 58%)
HSVhsv(237, 53%, 78%)
CMYKcmyk(52.5%, 49.5%, 0%, 21.6%)
CIE-LABlab(46.86, 25.45, -52.50)
CIE-LCHlch(46.86, 58.34, 295.86°)
OKLaboklab(55.18% 0.02 -0.1497)
OKLCHoklch(55.18% 0.151 277.6)
XYZxyz(19.7950, 15.9092, 56.6601)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65C8 #C8C25F
analogous
#5F9AC8 #5F65C8 #8D5FC8
triadic
#5F65C8 #C85F65 #65C85F
tetradic
#5F65C8 #C85F9A #C8C25F #5FC88D
square
#5F65C8 #C85F9A #C8C25F #5FC88D
split-complementary
#5F65C8 #C88D5F #9AC85F
monochromatic
#2C3180 #3C42AE #5F65C8 #8D91D8 #BABDE7

Accessibility & contrast

On white

5.02
#5F65C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5F65C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F65C8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65C8#FFFFFF#000000##FFFFFF
##5F65C81.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3573CC
Deuteranopia (green-blind)
#296BC6
Tritanopia (blue-blind)
#317B8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f65c8;
/* rgb */ color: rgb(95, 101, 200);
/* oklch */ color: oklch(55.2% 0.151 277.6);
Tailwind
colors: {
  custom: {
    50: '#9490d9',
    500: '#5f65c8',
    950: '#000000',
  },
}
SCSS
$custom: #5f65c8;
$custom-light: #9490d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65c8",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 200
  },
  "hsl": {
    "h": 236.571,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55175,
    "c": 0.15101,
    "h": 277.6
  },
  "luminance": 0.1591
}

Semantic roles & 50–950 ramp

primary
#5F65C8
secondary
#D6D4AC
accent
#D14FD8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F65C8

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

Preview Lab → · Contrast checker → · Palette generator →

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