#5F55BD#5F55BD

#5F55BD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.158 H 283.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5F55BD
RGBrgb(95, 85, 189)
HSLhsl(246, 44%, 54%)
HSVhsv(246, 55%, 74%)
CMYKcmyk(49.7%, 55%, 0%, 25.9%)
CIE-LABlab(42.16, 31.86, -53.68)
CIE-LCHlch(42.16, 62.42, 300.69°)
OKLaboklab(51.43% 0.0374 -0.1533)
OKLCHoklch(51.43% 0.158 283.7)
XYZxyz(17.1504, 12.6031, 49.6632)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55BD #B3BD55
analogous
#557FBD #5F55BD #9355BD
triadic
#5F55BD #BD5F55 #55BD5F
tetradic
#5F55BD #BD557F #B3BD55 #55BD93
square
#5F55BD #BD557F #B3BD55 #55BD93
split-complementary
#5F55BD #BD9355 #7FBD55
monochromatic
#312A6D #453C99 #5F55BD #8881CE #B2ADDF

Accessibility & contrast

On white

5.96
#5F55BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5F55BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55BD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55BD#FFFFFF#000000##FFFFFF
##5F55BD1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C1
Deuteranopia (green-blind)
#0E60BB
Tritanopia (blue-blind)
#3C6C81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f55bd;
/* rgb */ color: rgb(95, 85, 189);
/* oklch */ color: oklch(51.4% 0.158 283.7);
Tailwind
colors: {
  custom: {
    50: '#9385d1',
    500: '#5f55bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f55bd;
$custom-light: #9385d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55bd",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 245.769,
    "s": 44.068,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51432,
    "c": 0.15777,
    "h": 283.7
  },
  "luminance": 0.12604
}

Semantic roles & 50–950 ramp

primary
#5F55BD
secondary
#C9CDA1
accent
#D454C8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #5F55BD

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

Preview Lab → · Contrast checker → · Palette generator →

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