#5F55BC#5F55BC

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

Color values

HEX#5F55BC
RGBrgb(95, 85, 188)
HSLhsl(246, 43%, 54%)
HSVhsv(246, 55%, 74%)
CMYKcmyk(49.5%, 54.8%, 0%, 26.3%)
CIE-LABlab(42.09, 31.55, -53.20)
CIE-LCHlch(42.09, 61.85, 300.67°)
OKLaboklab(51.36% 0.0374 -0.1519)
OKLCHoklch(51.36% 0.156 283.8)
XYZxyz(17.0422, 12.5599, 49.0935)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55BC #B2BC55
analogous
#557EBC #5F55BC #9255BC
triadic
#5F55BC #BC5F55 #55BC5F
tetradic
#5F55BC #BC557E #B2BC55 #55BC92
square
#5F55BC #BC557E #B2BC55 #55BC92
split-complementary
#5F55BC #BC9255 #7EBC55
monochromatic
#312B6C #453C98 #5F55BC #8881CD #B2ADDF

Accessibility & contrast

On white

5.98
#5F55BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5F55BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55BC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55BC#FFFFFF#000000##FFFFFF
##5F55BC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C0
Deuteranopia (green-blind)
#1160BA
Tritanopia (blue-blind)
#3D6C80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f55bc;
/* rgb */ color: rgb(95, 85, 188);
/* oklch */ color: oklch(51.4% 0.156 283.8);
Tailwind
colors: {
  custom: {
    50: '#9385d1',
    500: '#5f55bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f55bc;
$custom-light: #9385d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55bc",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 245.825,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51361,
    "c": 0.1564,
    "h": 283.8
  },
  "luminance": 0.12561
}

Semantic roles & 50–950 ramp

primary
#5F55BC
secondary
#C8CCA0
accent
#D355C7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #5F55BC

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

Preview Lab → · Contrast checker → · Palette generator →

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