#5F6BB3#5F6BB3

#5F6BB3 is a mid, moderate blue. Relative luminance 0.162; OKLCH L 55.1% C 0.113 H 274.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5F6BB3
RGBrgb(95, 107, 179)
HSLhsl(231, 36%, 54%)
HSVhsv(231, 47%, 70%)
CMYKcmyk(46.9%, 40.2%, 0%, 29.8%)
CIE-LABlab(47.24, 15.14, -39.74)
CIE-LCHlch(47.24, 42.52, 290.86°)
OKLaboklab(55.08% 0.0097 -0.1122)
OKLCHoklch(55.08% 0.113 274.9)
XYZxyz(18.1112, 16.2020, 44.8121)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BB3 #B3A75F
analogous
#5F95B3 #5F6BB3 #7D5FB3
triadic
#5F6BB3 #B35F6B #6BB35F
tetradic
#5F6BB3 #B35F95 #B3A75F #5FB37D
square
#5F6BB3 #B35F95 #B3A75F #5FB37D
split-complementary
#5F6BB3 #B37D5F #95B35F
monochromatic
#313967 #454F90 #5F6BB3 #8891C7 #B2B8DA

Accessibility & contrast

On white

4.95
#5F6BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5F6BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6BB3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BB3#FFFFFF#000000##FFFFFF
##5F6BB31.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5074B6
Deuteranopia (green-blind)
#496DB1
Tritanopia (blue-blind)
#407A86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f6bb3;
/* rgb */ color: rgb(95, 107, 179);
/* oklch */ color: oklch(55.1% 0.113 274.9);
Tailwind
colors: {
  custom: {
    50: '#9195ca',
    500: '#5f6bb3',
    950: '#000000',
  },
}
SCSS
$custom: #5f6bb3;
$custom-light: #9195ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6bb3",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 231.429,
    "s": 35.593,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55079,
    "c": 0.11265,
    "h": 274.9
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

primary
#5F6BB3
secondary
#C9C4A5
accent
#BC5CCC
background
#F9F9FC
surface
#F1F1F8
border
#CBCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #5F6BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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