#5F75F4#5F75F4

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

Color values

HEX#5F75F4
RGBrgb(95, 117, 244)
HSLhsl(231, 87%, 66%)
HSVhsv(231, 61%, 96%)
CMYKcmyk(61.1%, 52%, 0%, 4.3%)
CIE-LABlab(53.69, 29.92, -66.36)
CIE-LCHlch(53.69, 72.79, 294.27°)
OKLaboklab(61.22% 0.0072 -0.1903)
OKLCHoklch(61.22% 0.19 272.2)
XYZxyz(27.4043, 21.6849, 88.3119)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75F4 #F4DE5F
analogous
#5FC0F4 #5F75F4 #945FF4
triadic
#5F75F4 #F45F75 #75F45F
tetradic
#5F75F4 #F45FC0 #F4DE5F #5FF494
square
#5F75F4 #F45FC0 #F4DE5F #5FF494
split-complementary
#5F75F4 #F4945F #C0F45F
monochromatic
#0E2ACB #2644F0 #5F75F4 #98A6F8 #D2D8FC

Accessibility & contrast

On white

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

On black

5.34
#5F75F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75F4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75F4#FFFFFF#000000##000000
##5F75F41.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2687F8
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f75f4;
/* rgb */ color: rgb(95, 117, 244);
/* oklch */ color: oklch(61.2% 0.190 272.2);
Tailwind
colors: {
  custom: {
    50: '#999cf8',
    500: '#5f75f4',
    950: '#000000',
  },
}
SCSS
$custom: #5f75f4;
$custom-light: #999cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75f4",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 244
  },
  "hsl": {
    "h": 231.141,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6122,
    "c": 0.19044,
    "h": 272.2
  },
  "luminance": 0.21687
}

Semantic roles & 50–950 ramp

primary
#5F75F4
secondary
#F0E8BF
accent
#C202E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F75F4

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

Preview Lab → · Contrast checker → · Palette generator →

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