#5F57CD#5F57CD

#5F57CD is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.177 H 281.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5F57CD
RGBrgb(95, 87, 205)
HSLhsl(244, 54%, 57%)
HSVhsv(244, 58%, 80%)
CMYKcmyk(53.7%, 57.6%, 0%, 19.6%)
CIE-LABlab(43.74, 35.61, -60.40)
CIE-LCHlch(43.74, 70.12, 300.52°)
OKLaboklab(52.95% 0.0354 -0.173)
OKLCHoklch(52.95% 0.177 281.6)
XYZxyz(19.1436, 13.6559, 59.3729)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F57CD #C5CD57
analogous
#578ACD #5F57CD #9A57CD
triadic
#5F57CD #CD5F57 #57CD5F
tetradic
#5F57CD #CD578A #C5CD57 #57CD9A
square
#5F57CD #CD578A #C5CD57 #57CD9A
split-complementary
#5F57CD #CD9A57 #8ACD57
monochromatic
#2D2783 #3D35B2 #5F57CD #8C86DB #B9B5E9

Accessibility & contrast

On white

5.63
#5F57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5F57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F57CD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F57CD#FFFFFF#000000##FFFFFF
##5F57CD1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#2E7289
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f57cd;
/* rgb */ color: rgb(95, 87, 205);
/* oklch */ color: oklch(52.9% 0.177 281.6);
Tailwind
colors: {
  custom: {
    50: '#9586dd',
    500: '#5f57cd',
    950: '#000000',
  },
}
SCSS
$custom: #5f57cd;
$custom-light: #9586dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f57cd",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 244.068,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5295,
    "c": 0.17662,
    "h": 281.6
  },
  "luminance": 0.13657
}

Semantic roles & 50–950 ramp

primary
#5F57CD
secondary
#D5D8A8
accent
#DD4AD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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