#5F6DAE#5F6DAE

#5F6DAE is a mid, moderate blue. Relative luminance 0.164; OKLCH L 55.2% C 0.103 H 273.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5F6DAE
RGBrgb(95, 109, 174)
HSLhsl(229, 33%, 53%)
HSVhsv(229, 45%, 68%)
CMYKcmyk(45.4%, 37.4%, 0%, 31.8%)
CIE-LABlab(47.53, 12.38, -36.37)
CIE-LCHlch(47.53, 38.41, 288.79°)
OKLaboklab(55.22% 0.0061 -0.1024)
OKLCHoklch(55.22% 0.103 273.4)
XYZxyz(17.8256, 16.4252, 42.2673)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DAE #AEA05F
analogous
#5F94AE #5F6DAE #785FAE
triadic
#5F6DAE #AE5F6D #6DAE5F
tetradic
#5F6DAE #AE5F94 #AEA05F #5FAE78
square
#5F6DAE #AE5F94 #AEA05F #5FAE78
split-complementary
#5F6DAE #AE785F #94AE5F
monochromatic
#313A61 #46528A #5F6DAE #8892C3 #B0B7D7

Accessibility & contrast

On white

4.90
#5F6DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5F6DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6DAE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6DAE#FFFFFF#000000##FFFFFF
##5F6DAE1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5574B1
Deuteranopia (green-blind)
#4E6EAD
Tritanopia (blue-blind)
#437A85
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f6dae;
/* rgb */ color: rgb(95, 109, 174);
/* oklch */ color: oklch(55.2% 0.103 273.4);
Tailwind
colors: {
  custom: {
    50: '#9096c6',
    500: '#5f6dae',
    950: '#000000',
  },
}
SCSS
$custom: #5f6dae;
$custom-light: #9096c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6dae",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 174
  },
  "hsl": {
    "h": 229.367,
    "s": 32.78,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55217,
    "c": 0.10258,
    "h": 273.4
  },
  "luminance": 0.16426
}

Semantic roles & 50–950 ramp

primary
#5F6DAE
secondary
#C6BFA3
accent
#B65FC9
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #5F6DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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