#5F55BF#5F55BF

#5F55BF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.6% C 0.160 H 283.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5F55BF
RGBrgb(95, 85, 191)
HSLhsl(246, 45%, 54%)
HSVhsv(246, 55%, 75%)
CMYKcmyk(50.3%, 55.5%, 0%, 25.1%)
CIE-LABlab(42.29, 32.47, -54.63)
CIE-LCHlch(42.29, 63.55, 300.73°)
OKLaboklab(51.58% 0.0375 -0.1561)
OKLCHoklch(51.58% 0.16 283.5)
XYZxyz(17.3690, 12.6906, 50.8144)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55BF #B5BF55
analogous
#5580BF #5F55BF #9455BF
triadic
#5F55BF #BF5F55 #55BF5F
tetradic
#5F55BF #BF5580 #B5BF55 #55BF94
square
#5F55BF #BF5580 #B5BF55 #55BF94
split-complementary
#5F55BF #BF9455 #80BF55
monochromatic
#312A70 #443B9C #5F55BF #8981D0 #B3AEE0

Accessibility & contrast

On white

5.94
#5F55BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5F55BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55BF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55BF#FFFFFF#000000##FFFFFF
##5F55BF1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C3
Deuteranopia (green-blind)
#0560BD
Tritanopia (blue-blind)
#3B6D82
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5f55bf;
/* rgb */ color: rgb(95, 85, 191);
/* oklch */ color: oklch(51.6% 0.160 283.5);
Tailwind
colors: {
  custom: {
    50: '#9385d3',
    500: '#5f55bf',
    950: '#000000',
  },
}
SCSS
$custom: #5f55bf;
$custom-light: #9385d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55bf",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 245.66,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.16049,
    "h": 283.5
  },
  "luminance": 0.12691
}

Semantic roles & 50–950 ramp

primary
#5F55BF
secondary
#CACEA1
accent
#D553C9
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5F55BF

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

Preview Lab → · Contrast checker → · Palette generator →

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