#5F6BB2#5F6BB2

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

Color values

HEX#5F6BB2
RGBrgb(95, 107, 178)
HSLhsl(231, 35%, 54%)
HSVhsv(231, 47%, 70%)
CMYKcmyk(46.6%, 39.9%, 0%, 30.2%)
CIE-LABlab(47.19, 14.83, -39.24)
CIE-LCHlch(47.19, 41.95, 290.71°)
OKLaboklab(55.02% 0.0095 -0.1108)
OKLCHoklch(55.02% 0.111 274.9)
XYZxyz(18.0104, 16.1617, 44.2813)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BB2 #B2A65F
analogous
#5F94B2 #5F6BB2 #7C5FB2
triadic
#5F6BB2 #B25F6B #6BB25F
tetradic
#5F6BB2 #B25F94 #B2A65F #5FB27C
square
#5F6BB2 #B25F94 #B2A65F #5FB27C
split-complementary
#5F6BB2 #B27C5F #94B25F
monochromatic
#313966 #45508F #5F6BB2 #8891C6 #B2B7DA

Accessibility & contrast

On white

4.96
#5F6BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5F6BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6BB2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BB2#FFFFFF#000000##FFFFFF
##5F6BB21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#496DB0
Tritanopia (blue-blind)
#417A86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f6bb2;
/* rgb */ color: rgb(95, 107, 178);
/* oklch */ color: oklch(55.0% 0.111 274.9);
Tailwind
colors: {
  custom: {
    50: '#9195c9',
    500: '#5f6bb2',
    950: '#000000',
  },
}
SCSS
$custom: #5f6bb2;
$custom-light: #9195c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6bb2",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 231.325,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55021,
    "c": 0.11118,
    "h": 274.9
  },
  "luminance": 0.16163
}

Semantic roles & 50–950 ramp

primary
#5F6BB2
secondary
#C8C3A5
accent
#BB5DCB
background
#F9F9FC
surface
#F1F1F8
border
#CBCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #5F6BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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