#5F57CA#5F57CA

#5F57CA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.173 H 281.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5F57CA
RGBrgb(95, 87, 202)
HSLhsl(244, 52%, 57%)
HSVhsv(244, 57%, 79%)
CMYKcmyk(53%, 56.9%, 0%, 20.8%)
CIE-LABlab(43.53, 34.67, -59.01)
CIE-LCHlch(43.53, 68.44, 300.43°)
OKLaboklab(52.73% 0.0354 -0.1689)
OKLCHoklch(52.73% 0.173 281.8)
XYZxyz(18.7849, 13.5125, 57.4840)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F57CA #C2CA57
analogous
#5789CA #5F57CA #9957CA
triadic
#5F57CA #CA5F57 #57CA5F
tetradic
#5F57CA #CA5789 #C2CA57 #57CA99
square
#5F57CA #CA5789 #C2CA57 #57CA99
split-complementary
#5F57CA #CA9957 #89CA57
monochromatic
#2E287F #3F37AD #5F57CA #8B86D9 #B8B4E7

Accessibility & contrast

On white

5.67
#5F57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5F57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F57CA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F57CA#FFFFFF#000000##FFFFFF
##5F57CA1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#317288
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f57ca;
/* rgb */ color: rgb(95, 87, 202);
/* oklch */ color: oklch(52.7% 0.173 281.8);
Tailwind
colors: {
  custom: {
    50: '#9586db',
    500: '#5f57ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f57ca;
$custom-light: #9586db;
$custom-dark: #000000;
JSON
{
  "hex": "#5f57ca",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 244.174,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52728,
    "c": 0.17262,
    "h": 281.8
  },
  "luminance": 0.13514
}

Semantic roles & 50–950 ramp

primary
#5F57CA
secondary
#D3D6A7
accent
#DB4CD2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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