#5F65BE#5F65BE

#5F65BE is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.5% C 0.137 H 277.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5F65BE
RGBrgb(95, 101, 190)
HSLhsl(236, 42%, 56%)
HSVhsv(236, 50%, 75%)
CMYKcmyk(50%, 46.8%, 0%, 25.5%)
CIE-LABlab(46.25, 22.29, -47.69)
CIE-LCHlch(46.25, 52.64, 295.05°)
OKLaboklab(54.53% 0.0189 -0.1356)
OKLCHoklch(54.53% 0.137 277.9)
XYZxyz(18.6644, 15.4569, 50.7052)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65BE #BEB85F
analogous
#5F94BE #5F65BE #885FBE
triadic
#5F65BE #BE5F65 #65BE5F
tetradic
#5F65BE #BE5F94 #BEB85F #5FBE88
square
#5F65BE #BE5F94 #BEB85F #5FBE88
split-complementary
#5F65BE #BE885F #94BE5F
monochromatic
#2F3374 #41479F #5F65BE #8B8FD0 #B6B9E1

Accessibility & contrast

On white

5.13
#5F65BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5F65BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F65BE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65BE#FFFFFF#000000##FFFFFF
##5F65BE1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E71C1
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#3A7888
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f65be;
/* rgb */ color: rgb(95, 101, 190);
/* oklch */ color: oklch(54.5% 0.137 277.9);
Tailwind
colors: {
  custom: {
    50: '#9290d2',
    500: '#5f65be',
    950: '#000000',
  },
}
SCSS
$custom: #5f65be;
$custom-light: #9290d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65be",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 190
  },
  "hsl": {
    "h": 236.211,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54527,
    "c": 0.13687,
    "h": 277.9
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#5F65BE
secondary
#D0CEA9
accent
#CA56D2
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5F65BE

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

Preview Lab → · Contrast checker → · Palette generator →

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