#5F5ABC#5F5ABC

#5F5ABC is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.149 H 282.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5F5ABC
RGBrgb(95, 90, 188)
HSLhsl(243, 42%, 55%)
HSVhsv(243, 52%, 74%)
CMYKcmyk(49.5%, 52.1%, 0%, 26.3%)
CIE-LABlab(43.32, 28.47, -51.22)
CIE-LCHlch(43.32, 58.60, 299.07°)
OKLaboklab(52.28% 0.0316 -0.146)
OKLCHoklch(52.28% 0.149 282.2)
XYZxyz(17.4498, 13.3752, 49.2294)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5ABC #B7BC5A
analogous
#5A86BC #5F5ABC #905ABC
triadic
#5F5ABC #BC5F5A #5ABC5F
tetradic
#5F5ABC #BC5A86 #B7BC5A #5ABC90
square
#5F5ABC #BC5A86 #B7BC5A #5ABC90
split-complementary
#5F5ABC #BC905A #86BC5A
monochromatic
#302D6F #433F9A #5F5ABC #8986CE #B3B1DF

Accessibility & contrast

On white

5.71
#5F5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5F5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5ABC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5ABC#FFFFFF#000000##FFFFFF
##5F5ABC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296ABF
Deuteranopia (green-blind)
#2163BA
Tritanopia (blue-blind)
#3D6F82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f5abc;
/* rgb */ color: rgb(95, 90, 188);
/* oklch */ color: oklch(52.3% 0.149 282.2);
Tailwind
colors: {
  custom: {
    50: '#9388d1',
    500: '#5f5abc',
    950: '#000000',
  },
}
SCSS
$custom: #5f5abc;
$custom-light: #9388d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5abc",
  "rgb": {
    "r": 95,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 243.061,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5228,
    "c": 0.1494,
    "h": 282.2
  },
  "luminance": 0.13376
}

Semantic roles & 50–950 ramp

primary
#5F5ABC
secondary
#CCCEA4
accent
#D256CC
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #5F5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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