#3F5D8D#3F5D8D

#3F5D8D is a mid, moderate blue. Relative luminance 0.108; OKLCH L 47.7% C 0.086 H 259.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3F5D8D
RGBrgb(63, 93, 141)
HSLhsl(217, 38%, 40%)
HSVhsv(217, 55%, 55%)
CMYKcmyk(55.3%, 34%, 0%, 44.7%)
CIE-LABlab(39.25, 3.79, -29.94)
CIE-LCHlch(39.25, 30.18, 277.21°)
OKLaboklab(47.73% -0.0157 -0.0844)
OKLCHoklch(47.73% 0.086 259.5)
XYZxyz(10.7703, 10.8077, 26.7127)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5D8D #8D6F3F
analogous
#3F848D #3F5D8D #483F8D
triadic
#3F5D8D #8D3F5D #5D8D3F
tetradic
#3F5D8D #8D3F84 #8D6F3F #3F8D48
square
#3F5D8D #8D3F84 #8D6F3F #3F8D48
split-complementary
#3F5D8D #8D483F #848D3F
monochromatic
#192538 #2C4163 #3F5D8D #567AB3 #809BC6

Accessibility & contrast

On white

6.64
#3F5D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3F5D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5D8D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5D8D#FFFFFF#000000##FFFFFF
##3F5D8D1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608F
Deuteranopia (green-blind)
#40598C
Tritanopia (blue-blind)
#13686E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f5d8d;
/* rgb */ color: rgb(63, 93, 141);
/* oklch */ color: oklch(47.7% 0.086 259.5);
Tailwind
colors: {
  custom: {
    50: '#7a8aae',
    500: '#3f5d8d',
    950: '#000000',
  },
}
SCSS
$custom: #3f5d8d;
$custom-light: #7a8aae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5d8d",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 141
  },
  "hsl": {
    "h": 216.923,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.47734,
    "c": 0.08585,
    "h": 259.5
  },
  "luminance": 0.10809
}

Semantic roles & 50–950 ramp

primary
#3F5D8D
secondary
#B19B77
accent
#A15ACE
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3F5D8D

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

Preview Lab → · Contrast checker → · Palette generator →

#3F5D8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva