#5D5FBB#5D5FBB

#5D5FBB is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.0% C 0.141 H 279.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5D5FBB
RGBrgb(93, 95, 187)
HSLhsl(239, 41%, 55%)
HSVhsv(239, 50%, 73%)
CMYKcmyk(50.3%, 49.2%, 0%, 26.7%)
CIE-LABlab(44.37, 24.61, -48.96)
CIE-LCHlch(44.37, 54.80, 296.69°)
OKLaboklab(53.01% 0.0233 -0.1394)
OKLCHoklch(53.01% 0.141 279.5)
XYZxyz(17.5733, 14.0984, 48.7994)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FBB #BBB95D
analogous
#5D8EBB #5D5FBB #8A5DBB
triadic
#5D5FBB #BB5D5F #5FBB5D
tetradic
#5D5FBB #BB5D8E #BBB95D #5DBB8A
square
#5D5FBB #BB5D8E #BBB95D #5DBB8A
split-complementary
#5D5FBB #BB8A5D #8EBB5D
monochromatic
#2F306F #41439A #5D5FBB #888ACD #B3B4DF

Accessibility & contrast

On white

5.50
#5D5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5D5FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FBB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FBB#FFFFFF#000000##FFFFFF
##5D5FBB1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBE
Deuteranopia (green-blind)
#2C65B9
Tritanopia (blue-blind)
#387384
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d5fbb;
/* rgb */ color: rgb(93, 95, 187);
/* oklch */ color: oklch(53.0% 0.141 279.5);
Tailwind
colors: {
  custom: {
    50: '#918cd0',
    500: '#5d5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #5d5fbb;
$custom-light: #918cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5fbb",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 238.723,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5301,
    "c": 0.14132,
    "h": 279.5
  },
  "luminance": 0.14099
}

Semantic roles & 50–950 ramp

primary
#5D5FBB
secondary
#CECDA6
accent
#CE57D1
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5D5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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