#5F75F5#5F75F5

#5F75F5 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.3% C 0.192 H 272.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5F75F5
RGBrgb(95, 117, 245)
HSLhsl(231, 88%, 67%)
HSVhsv(231, 61%, 96%)
CMYKcmyk(61.2%, 52.2%, 0%, 3.9%)
CIE-LABlab(53.76, 30.25, -66.81)
CIE-LCHlch(53.76, 73.34, 294.36°)
OKLaboklab(61.29% 0.0073 -0.1916)
OKLCHoklch(61.29% 0.192 272.2)
XYZxyz(27.5565, 21.7457, 89.1137)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75F5 #F5DF5F
analogous
#5FC0F5 #5F75F5 #945FF5
triadic
#5F75F5 #F55F75 #75F55F
tetradic
#5F75F5 #F55FC0 #F5DF5F #5FF594
square
#5F75F5 #F55FC0 #F5DF5F #5FF594
split-complementary
#5F75F5 #F5945F #C0F55F
monochromatic
#0D29CD #2543F1 #5F75F5 #99A7F9 #D2D8FC

Accessibility & contrast

On white

3.93
#5F75F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5F75F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75F5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75F5#FFFFFF#000000##000000
##5F75F51.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2487F9
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#0093AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f75f5;
/* rgb */ color: rgb(95, 117, 245);
/* oklch */ color: oklch(61.3% 0.192 272.2);
Tailwind
colors: {
  custom: {
    50: '#9a9cf9',
    500: '#5f75f5',
    950: '#000000',
  },
}
SCSS
$custom: #5f75f5;
$custom-light: #9a9cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75f5",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 245
  },
  "hsl": {
    "h": 231.2,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6129,
    "c": 0.19176,
    "h": 272.2
  },
  "luminance": 0.21748
}

Semantic roles & 50–950 ramp

primary
#5F75F5
secondary
#F0E9C0
accent
#C301E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F75F5

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

Preview Lab → · Contrast checker → · Palette generator →

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