#5F55CC#5F55CC

#5F55CC is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.178 H 282.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5F55CC
RGBrgb(95, 85, 204)
HSLhsl(245, 54%, 57%)
HSVhsv(245, 58%, 80%)
CMYKcmyk(53.4%, 58.3%, 0%, 20%)
CIE-LABlab(43.19, 36.50, -60.70)
CIE-LCHlch(43.19, 70.83, 301.02°)
OKLaboklab(52.53% 0.0375 -0.1739)
OKLCHoklch(52.53% 0.178 282.2)
XYZxyz(18.8636, 13.2884, 58.6860)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55CC #C2CC55
analogous
#5587CC #5F55CC #9B55CC
triadic
#5F55CC #CC5F55 #55CC5F
tetradic
#5F55CC #CC5587 #C2CC55 #55CC9B
square
#5F55CC #CC5587 #C2CC55 #55CC9B
split-complementary
#5F55CC #CC9B55 #87CC55
monochromatic
#2E2680 #3F35AF #5F55CC #8B84DA #B8B3E8

Accessibility & contrast

On white

5.74
#5F55CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5F55CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55CC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55CC#FFFFFF#000000##FFFFFF
##5F55CC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#2F7188
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f55cc;
/* rgb */ color: rgb(95, 85, 204);
/* oklch */ color: oklch(52.5% 0.178 282.2);
Tailwind
colors: {
  custom: {
    50: '#9585dc',
    500: '#5f55cc',
    950: '#000000',
  },
}
SCSS
$custom: #5f55cc;
$custom-light: #9585dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55cc",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 245.042,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52528,
    "c": 0.17792,
    "h": 282.2
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#5F55CC
secondary
#D3D7A6
accent
#DD4BD1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F55CC

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

Preview Lab → · Contrast checker → · Palette generator →

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