#5F55CF#5F55CF

#5F55CF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.8% C 0.182 H 281.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5F55CF
RGBrgb(95, 85, 207)
HSLhsl(245, 56%, 57%)
HSVhsv(245, 59%, 81%)
CMYKcmyk(54.1%, 58.9%, 0%, 18.8%)
CIE-LABlab(43.41, 37.44, -62.08)
CIE-LCHlch(43.41, 72.50, 301.09°)
OKLaboklab(52.75% 0.0374 -0.178)
OKLCHoklch(52.75% 0.182 281.9)
XYZxyz(19.2268, 13.4337, 60.5992)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55CF #C5CF55
analogous
#5588CF #5F55CF #9C55CF
triadic
#5F55CF #CF5F55 #55CF5F
tetradic
#5F55CF #CF5588 #C5CF55 #55CF9C
square
#5F55CF #CF5588 #C5CF55 #55CF9C
split-complementary
#5F55CF #CF9C55 #88CF55
monochromatic
#2D2584 #3D33B4 #5F55CF #8C85DC #B9B4EA

Accessibility & contrast

On white

5.70
#5F55CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5F55CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55CF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55CF#FFFFFF#000000##FFFFFF
##5F55CF1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#2C728A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f55cf;
/* rgb */ color: rgb(95, 85, 207);
/* oklch */ color: oklch(52.8% 0.182 281.9);
Tailwind
colors: {
  custom: {
    50: '#9685de',
    500: '#5f55cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f55cf;
$custom-light: #9685de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55cf",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 244.918,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.18188,
    "h": 281.9
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#5F55CF
secondary
#D5D9A7
accent
#DF49D3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F55CF

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

Preview Lab → · Contrast checker → · Palette generator →

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