#5F75DC#5F75DC

#5F75DC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.6% C 0.158 H 271.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5F75DC
RGBrgb(95, 117, 220)
HSLhsl(229, 64%, 62%)
HSVhsv(229, 57%, 86%)
CMYKcmyk(56.8%, 46.8%, 0%, 13.7%)
CIE-LABlab(52.20, 22.05, -55.32)
CIE-LCHlch(52.20, 59.55, 291.73°)
OKLaboklab(59.61% 0.0049 -0.1578)
OKLCHoklch(59.61% 0.158 271.8)
XYZxyz(23.9946, 20.3210, 70.3542)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75DC #DCC65F
analogous
#5FB4DC #5F75DC #885FDC
triadic
#5F75DC #DC5F75 #75DC5F
tetradic
#5F75DC #DC5FB4 #DCC65F #5FDC88
square
#5F75DC #DC5FB4 #DCC65F #5FDC88
split-complementary
#5F75DC #DC885F #B4DC5F
monochromatic
#23389E #2E4AD0 #5F75DC #91A0E7 #C3CCF2

Accessibility & contrast

On white

4.15
#5F75DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5F75DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75DC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75DC#FFFFFF#000000##000000
##5F75DC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482E0
Deuteranopia (green-blind)
#3277DA
Tritanopia (blue-blind)
#078C9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f75dc;
/* rgb */ color: rgb(95, 117, 220);
/* oklch */ color: oklch(59.6% 0.158 271.8);
Tailwind
colors: {
  custom: {
    50: '#969ce7',
    500: '#5f75dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f75dc;
$custom-light: #969ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75dc",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 220
  },
  "hsl": {
    "h": 229.44,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59612,
    "c": 0.15791,
    "h": 271.8
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#5F75DC
secondary
#E3DAB4
accent
#AD1ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F75DC

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

Preview Lab → · Contrast checker → · Palette generator →

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