#5F75B2#5F75B2

#5F75B2 is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.1% C 0.098 H 268.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5F75B2
RGBrgb(95, 117, 178)
HSLhsl(224, 35%, 54%)
HSVhsv(224, 47%, 70%)
CMYKcmyk(46.6%, 34.3%, 0%, 30.2%)
CIE-LABlab(49.94, 8.71, -34.90)
CIE-LCHlch(49.94, 35.97, 284.02°)
OKLaboklab(57.15% -0.0032 -0.0981)
OKLCHoklch(57.15% 0.098 268.1)
XYZxyz(19.1139, 18.3687, 44.6492)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75B2 #B29C5F
analogous
#5F9EB2 #5F75B2 #725FB2
triadic
#5F75B2 #B25F75 #75B25F
tetradic
#5F75B2 #B25F9E #B29C5F #5FB272
square
#5F75B2 #B25F9E #B29C5F #5FB272
split-complementary
#5F75B2 #B2725F #9EB25F
monochromatic
#313F66 #45588F #5F75B2 #8899C6 #B2BCDA

Accessibility & contrast

On white

4.49
#5F75B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#5F75B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75B2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75B2#FFFFFF#000000##000000
##5F75B21.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB5
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#3F828B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f75b2;
/* rgb */ color: rgb(95, 117, 178);
/* oklch */ color: oklch(57.1% 0.098 268.1);
Tailwind
colors: {
  custom: {
    50: '#909cc9',
    500: '#5f75b2',
    950: '#000000',
  },
}
SCSS
$custom: #5f75b2;
$custom-light: #909cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75b2",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 178
  },
  "hsl": {
    "h": 224.096,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57145,
    "c": 0.09814,
    "h": 268.1
  },
  "luminance": 0.1837
}

Semantic roles & 50–950 ramp

primary
#5F75B2
secondary
#C8BFA5
accent
#AE5DCB
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #5F75B2

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

Preview Lab → · Contrast checker → · Palette generator →

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