#5F55CB#5F55CB

#5F55CB is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.5% C 0.177 H 282.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5F55CB
RGBrgb(95, 85, 203)
HSLhsl(245, 53%, 56%)
HSVhsv(245, 58%, 80%)
CMYKcmyk(53.2%, 58.1%, 0%, 20.4%)
CIE-LABlab(43.12, 36.19, -60.24)
CIE-LCHlch(43.12, 70.28, 301.00°)
OKLaboklab(52.45% 0.0375 -0.1726)
OKLCHoklch(52.45% 0.177 282.3)
XYZxyz(18.7440, 13.2406, 58.0563)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55CB #C1CB55
analogous
#5586CB #5F55CB #9A55CB
triadic
#5F55CB #CB5F55 #55CB5F
tetradic
#5F55CB #CB5586 #C1CB55 #55CB9A
square
#5F55CB #CB5586 #C1CB55 #55CB9A
split-complementary
#5F55CB #CB9A55 #86CB55
monochromatic
#2E277F #3F35AE #5F55CB #8B84D9 #B7B3E8

Accessibility & contrast

On white

5.76
#5F55CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5F55CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55CB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55CB#FFFFFF#000000##FFFFFF
##5F55CB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#307188
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f55cb;
/* rgb */ color: rgb(95, 85, 203);
/* oklch */ color: oklch(52.5% 0.177 282.3);
Tailwind
colors: {
  custom: {
    50: '#9585dc',
    500: '#5f55cb',
    950: '#000000',
  },
}
SCSS
$custom: #5f55cb;
$custom-light: #9585dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55cb",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 245.085,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52453,
    "c": 0.17661,
    "h": 282.3
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#5F55CB
secondary
#D2D6A6
accent
#DD4BD0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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