#5F55CD#5F55CD

#5F55CD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.6% C 0.179 H 282.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5F55CD
RGBrgb(95, 85, 205)
HSLhsl(245, 55%, 57%)
HSVhsv(245, 59%, 80%)
CMYKcmyk(53.7%, 58.5%, 0%, 19.6%)
CIE-LABlab(43.27, 36.81, -61.16)
CIE-LCHlch(43.27, 71.39, 301.04°)
OKLaboklab(52.6% 0.0375 -0.1753)
OKLCHoklch(52.6% 0.179 282.1)
XYZxyz(18.9839, 13.3365, 59.3197)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55CD #C3CD55
analogous
#5587CD #5F55CD #9B55CD
triadic
#5F55CD #CD5F55 #55CD5F
tetradic
#5F55CD #CD5587 #C3CD55 #55CD9B
square
#5F55CD #CD5587 #C3CD55 #55CD9B
split-complementary
#5F55CD #CD9B55 #87CD55
monochromatic
#2E2682 #3E34B1 #5F55CD #8C84DB #B8B4E9

Accessibility & contrast

On white

5.73
#5F55CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5F55CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55CD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55CD#FFFFFF#000000##FFFFFF
##5F55CD1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#2E7189
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f55cd;
/* rgb */ color: rgb(95, 85, 205);
/* oklch */ color: oklch(52.6% 0.179 282.1);
Tailwind
colors: {
  custom: {
    50: '#9585dd',
    500: '#5f55cd',
    950: '#000000',
  },
}
SCSS
$custom: #5f55cd;
$custom-light: #9585dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55cd",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 245,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.17925,
    "h": 282.1
  },
  "luminance": 0.13338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F55CD

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

Preview Lab → · Contrast checker → · Palette generator →

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