#5F55C7#5F55C7

#5F55C7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.171 H 282.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5F55C7
RGBrgb(95, 85, 199)
HSLhsl(245, 50%, 56%)
HSVhsv(245, 57%, 78%)
CMYKcmyk(52.3%, 57.3%, 0%, 22%)
CIE-LABlab(42.84, 34.95, -58.39)
CIE-LCHlch(42.84, 68.05, 300.90°)
OKLaboklab(52.16% 0.0375 -0.1671)
OKLCHoklch(52.16% 0.171 282.7)
XYZxyz(18.2735, 13.0524, 55.5782)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55C7 #BDC755
analogous
#5584C7 #5F55C7 #9855C7
triadic
#5F55C7 #C75F55 #55C75F
tetradic
#5F55C7 #C75584 #BDC755 #55C798
square
#5F55C7 #C75584 #BDC755 #55C798
split-complementary
#5F55C7 #C79855 #84C755
monochromatic
#2F287A #4137A8 #5F55C7 #8A83D6 #B6B1E5

Accessibility & contrast

On white

5.82
#5F55C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5F55C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55C7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55C7#FFFFFF#000000##FFFFFF
##5F55C71.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#346F86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f55c7;
/* rgb */ color: rgb(95, 85, 199);
/* oklch */ color: oklch(52.2% 0.171 282.7);
Tailwind
colors: {
  custom: {
    50: '#9485d9',
    500: '#5f55c7',
    950: '#000000',
  },
}
SCSS
$custom: #5f55c7;
$custom-light: #9485d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55c7",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 199
  },
  "hsl": {
    "h": 245.263,
    "s": 50.442,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52156,
    "c": 0.17128,
    "h": 282.7
  },
  "luminance": 0.13053
}

Semantic roles & 50–950 ramp

primary
#5F55C7
secondary
#CFD4A4
accent
#DA4ECE
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F55C7

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

Preview Lab → · Contrast checker → · Palette generator →

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