#5D65B2#5D65B2

#5D65B2 is a mid, moderate blue. Relative luminance 0.148; OKLCH L 53.6% C 0.120 H 277.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5D65B2
RGBrgb(93, 101, 178)
HSLhsl(234, 36%, 53%)
HSVhsv(234, 48%, 70%)
CMYKcmyk(47.8%, 43.3%, 0%, 30.2%)
CIE-LABlab(45.43, 18.06, -42.04)
CIE-LCHlch(45.43, 45.75, 293.25°)
OKLaboklab(53.64% 0.0148 -0.119)
OKLCHoklch(53.64% 0.12 277.1)
XYZxyz(17.2013, 14.8479, 44.0704)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D65B2 #B2AA5D
analogous
#5D8FB2 #5D65B2 #7F5DB2
triadic
#5D65B2 #B25D65 #65B25D
tetradic
#5D65B2 #B25D8F #B2AA5D #5DB27F
square
#5D65B2 #B25D8F #B2AA5D #5DB27F
split-complementary
#5D65B2 #B27F5D #8FB25D
monochromatic
#303565 #444B8E #5D65B2 #868CC6 #B0B4D9

Accessibility & contrast

On white

5.29
#5D65B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5D65B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D65B2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D65B2#FFFFFF#000000##FFFFFF
##5D65B21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#4068B0
Tritanopia (blue-blind)
#3E7583
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d65b2;
/* rgb */ color: rgb(93, 101, 178);
/* oklch */ color: oklch(53.6% 0.120 277.1);
Tailwind
colors: {
  custom: {
    50: '#9090c9',
    500: '#5d65b2',
    950: '#000000',
  },
}
SCSS
$custom: #5d65b2;
$custom-light: #9090c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d65b2",
  "rgb": {
    "r": 93,
    "g": 101,
    "b": 178
  },
  "hsl": {
    "h": 234.353,
    "s": 35.565,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.11995,
    "h": 277.1
  },
  "luminance": 0.14849
}

Semantic roles & 50–950 ramp

primary
#5D65B2
secondary
#C8C4A3
accent
#C15CCC
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5D65B2

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

Preview Lab → · Contrast checker → · Palette generator →

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