#5F75DB#5F75DB

#5F75DB is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.5% C 0.157 H 271.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5F75DB
RGBrgb(95, 117, 219)
HSLhsl(229, 63%, 62%)
HSVhsv(229, 57%, 86%)
CMYKcmyk(56.6%, 46.6%, 0%, 14.1%)
CIE-LABlab(52.14, 21.72, -54.85)
CIE-LCHlch(52.14, 59.00, 291.60°)
OKLaboklab(59.55% 0.0047 -0.1564)
OKLCHoklch(59.55% 0.157 271.7)
XYZxyz(23.8626, 20.2682, 69.6588)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75DB #DBC55F
analogous
#5FB3DB #5F75DB #875FDB
triadic
#5F75DB #DB5F75 #75DB5F
tetradic
#5F75DB #DB5FB3 #DBC55F #5FDB87
square
#5F75DB #DB5FB3 #DBC55F #5FDB87
split-complementary
#5F75DB #DB875F #B3DB5F
monochromatic
#23399C #2E4BCE #5F75DB #91A0E6 #C3CBF1

Accessibility & contrast

On white

4.16
#5F75DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5F75DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75DB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75DB#FFFFFF#000000##000000
##5F75DB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DF
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#0B8C9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f75db;
/* rgb */ color: rgb(95, 117, 219);
/* oklch */ color: oklch(59.5% 0.157 271.7);
Tailwind
colors: {
  custom: {
    50: '#969ce7',
    500: '#5f75db',
    950: '#000000',
  },
}
SCSS
$custom: #5f75db;
$custom-light: #969ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75db",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 219
  },
  "hsl": {
    "h": 229.355,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59548,
    "c": 0.15652,
    "h": 271.7
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#5F75DB
secondary
#E2DAB4
accent
#AC1ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F75DB

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

Preview Lab → · Contrast checker → · Palette generator →

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