#5B65BF#5B65BF

#5B65BF is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.3% C 0.139 H 276.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5B65BF
RGBrgb(91, 101, 191)
HSLhsl(234, 44%, 55%)
HSVhsv(234, 52%, 75%)
CMYKcmyk(52.4%, 47.1%, 0%, 25.1%)
CIE-LABlab(46.03, 21.70, -48.64)
CIE-LCHlch(46.03, 53.26, 294.05°)
OKLaboklab(54.31% 0.0145 -0.1384)
OKLCHoklch(54.31% 0.139 276)
XYZxyz(18.3691, 15.2919, 51.2638)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65BF #BFB55B
analogous
#5B97BF #5B65BF #835BBF
triadic
#5B65BF #BF5B65 #65BF5B
tetradic
#5B65BF #BF5B97 #BFB55B #5BBF83
square
#5B65BF #BF5B97 #BFB55B #5BBF83
split-complementary
#5B65BF #BF835B #97BF5B
monochromatic
#2D3473 #3E489F #5B65BF #878ED0 #B3B8E1

Accessibility & contrast

On white

5.17
#5B65BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5B65BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B65BF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B65BF#FFFFFF#000000##FFFFFF
##5B65BF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C2
Deuteranopia (green-blind)
#3269BD
Tritanopia (blue-blind)
#2F7989
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b65bf;
/* rgb */ color: rgb(91, 101, 191);
/* oklch */ color: oklch(54.3% 0.139 276.0);
Tailwind
colors: {
  custom: {
    50: '#9090d3',
    500: '#5b65bf',
    950: '#000000',
  },
}
SCSS
$custom: #5b65bf;
$custom-light: #9090d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65bf",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 191
  },
  "hsl": {
    "h": 234,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.1392,
    "h": 276
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#5B65BF
secondary
#D0CCA6
accent
#C754D4
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5B65BF

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

Preview Lab → · Contrast checker → · Palette generator →

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