#5F59CC#5F59CC

#5F59CC is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.2% C 0.173 H 281.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5F59CC
RGBrgb(95, 89, 204)
HSLhsl(243, 53%, 57%)
HSVhsv(243, 56%, 80%)
CMYKcmyk(53.4%, 56.4%, 0%, 20%)
CIE-LABlab(44.14, 34.08, -59.17)
CIE-LCHlch(44.14, 68.28, 299.94°)
OKLaboklab(53.23% 0.0333 -0.1694)
OKLCHoklch(53.23% 0.173 281.1)
XYZxyz(19.1874, 13.9361, 58.7939)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59CC #C6CC59
analogous
#598DCC #5F59CC #9859CC
triadic
#5F59CC #CC5F59 #59CC5F
tetradic
#5F59CC #CC598D #C6CC59 #59CC98
square
#5F59CC #CC598D #C6CC59 #59CC98
split-complementary
#5F59CC #CC9859 #8DCC59
monochromatic
#2D2883 #3D36B1 #5F59CC #8C88DA #B9B7E9

Accessibility & contrast

On white

5.54
#5F59CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5F59CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59CC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59CC#FFFFFF#000000##FFFFFF
##5F59CC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#2F748A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f59cc;
/* rgb */ color: rgb(95, 89, 204);
/* oklch */ color: oklch(53.2% 0.173 281.1);
Tailwind
colors: {
  custom: {
    50: '#9588dc',
    500: '#5f59cc',
    950: '#000000',
  },
}
SCSS
$custom: #5f59cc;
$custom-light: #9588dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59cc",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 243.13,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53228,
    "c": 0.17264,
    "h": 281.1
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#5F59CC
secondary
#D5D8A9
accent
#DC4BD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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