#5F75CE#5F75CE

#5F75CE is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.7% C 0.138 H 271.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5F75CE
RGBrgb(95, 117, 206)
HSLhsl(228, 53%, 59%)
HSVhsv(228, 54%, 81%)
CMYKcmyk(53.9%, 43.2%, 0%, 19.2%)
CIE-LABlab(51.39, 17.51, -48.67)
CIE-LCHlch(51.39, 51.73, 289.79°)
OKLaboklab(58.74% 0.0028 -0.1383)
OKLCHoklch(58.74% 0.138 271.2)
XYZxyz(22.2175, 19.6101, 60.9949)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75CE #CEB85F
analogous
#5FADCE #5F75CE #815FCE
triadic
#5F75CE #CE5F75 #75CE5F
tetradic
#5F75CE #CE5FAD #CEB85F #5FCE81
square
#5F75CE #CE5FAD #CEB85F #5FCE81
split-complementary
#5F75CE #CE815F #ADCE5F
monochromatic
#2A3D89 #3851B8 #5F75CE #8E9DDC #BDC6EB

Accessibility & contrast

On white

4.27
#5F75CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5F75CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75CE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75CE#FFFFFF#000000##000000
##5F75CE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D1
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#268897
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f75ce;
/* rgb */ color: rgb(95, 117, 206);
/* oklch */ color: oklch(58.7% 0.138 271.2);
Tailwind
colors: {
  custom: {
    50: '#949cdd',
    500: '#5f75ce',
    950: '#000000',
  },
}
SCSS
$custom: #5f75ce;
$custom-light: #949cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75ce",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 206
  },
  "hsl": {
    "h": 228.108,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58738,
    "c": 0.13835,
    "h": 271.2
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#5F75CE
secondary
#DAD2AF
accent
#C04BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F75CE

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

Preview Lab → · Contrast checker → · Palette generator →

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