#5F75F7#5F75F7

#5F75F7 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.4% C 0.194 H 272.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5F75F7
RGBrgb(95, 117, 247)
HSLhsl(231, 90%, 67%)
HSVhsv(231, 62%, 97%)
CMYKcmyk(61.5%, 52.6%, 0%, 3.1%)
CIE-LABlab(53.89, 30.91, -67.71)
CIE-LCHlch(53.89, 74.43, 294.54°)
OKLaboklab(61.43% 0.0074 -0.1943)
OKLCHoklch(61.43% 0.194 272.2)
XYZxyz(27.8635, 21.8685, 90.7304)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75F7 #F7E15F
analogous
#5FC1F7 #5F75F7 #955FF7
triadic
#5F75F7 #F75F75 #75F75F
tetradic
#5F75F7 #F75FC1 #F7E15F #5FF795
square
#5F75F7 #F75FC1 #F7E15F #5FF795
split-complementary
#5F75F7 #F7955F #C1F75F
monochromatic
#0A27D1 #2543F4 #5F75F7 #99A7FA #D4DAFD

Accessibility & contrast

On white

3.91
#5F75F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5F75F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75F7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75F7#FFFFFF#000000##000000
##5F75F71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2088FC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#0093AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f75f7;
/* rgb */ color: rgb(95, 117, 247);
/* oklch */ color: oklch(61.4% 0.194 272.2);
Tailwind
colors: {
  custom: {
    50: '#9a9cfb',
    500: '#5f75f7',
    950: '#000000',
  },
}
SCSS
$custom: #5f75f7;
$custom-light: #9a9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75f7",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 247
  },
  "hsl": {
    "h": 231.316,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61431,
    "c": 0.19441,
    "h": 272.2
  },
  "luminance": 0.21871
}

Semantic roles & 50–950 ramp

primary
#5F75F7
secondary
#F1EAC1
accent
#C400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F75F7

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

Preview Lab → · Contrast checker → · Palette generator →

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