#5F75CF#5F75CF

#5F75CF is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.8% C 0.140 H 271.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5F75CF
RGBrgb(95, 117, 207)
HSLhsl(228, 54%, 59%)
HSVhsv(228, 54%, 81%)
CMYKcmyk(54.1%, 43.5%, 0%, 18.8%)
CIE-LABlab(51.45, 17.84, -49.15)
CIE-LCHlch(51.45, 52.29, 289.94°)
OKLaboklab(58.8% 0.003 -0.1397)
OKLCHoklch(58.8% 0.14 271.2)
XYZxyz(22.3394, 19.6589, 61.6367)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75CF #CFB95F
analogous
#5FADCF #5F75CF #815FCF
triadic
#5F75CF #CF5F75 #75CF5F
tetradic
#5F75CF #CF5FAD #CFB95F #5FCF81
square
#5F75CF #CF5FAD #CFB95F #5FCF81
split-complementary
#5F75CF #CF815F #ADCF5F
monochromatic
#293C8A #3851B9 #5F75CF #8E9EDD #BDC6EB

Accessibility & contrast

On white

4.26
#5F75CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5F75CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75CF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75CF#FFFFFF#000000##000000
##5F75CF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E80D2
Deuteranopia (green-blind)
#4176CD
Tritanopia (blue-blind)
#258998
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f75cf;
/* rgb */ color: rgb(95, 117, 207);
/* oklch */ color: oklch(58.8% 0.140 271.2);
Tailwind
colors: {
  custom: {
    50: '#949cde',
    500: '#5f75cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f75cf;
$custom-light: #949cde;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75cf",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 207
  },
  "hsl": {
    "h": 228.214,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58799,
    "c": 0.13976,
    "h": 271.2
  },
  "luminance": 0.1966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F75CF

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

Preview Lab → · Contrast checker → · Palette generator →

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