#3F5E8D#3F5E8D

#3F5E8D is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.0% C 0.085 H 258.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3F5E8D
RGBrgb(63, 94, 141)
HSLhsl(216, 38%, 40%)
HSVhsv(216, 55%, 55%)
CMYKcmyk(55.3%, 33.3%, 0%, 44.7%)
CIE-LABlab(39.55, 3.16, -29.47)
CIE-LCHlch(39.55, 29.63, 276.11°)
OKLaboklab(47.97% -0.0169 -0.083)
OKLCHoklch(47.97% 0.085 258.5)
XYZxyz(10.8587, 10.9844, 26.7421)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5E8D #8D6E3F
analogous
#3F858D #3F5E8D #473F8D
triadic
#3F5E8D #8D3F5E #5E8D3F
tetradic
#3F5E8D #8D3F85 #8D6E3F #3F8D47
square
#3F5E8D #8D3F85 #8D6E3F #3F8D47
split-complementary
#3F5E8D #8D473F #858D3F
monochromatic
#192638 #2C4263 #3F5E8D #567BB3 #809CC6

Accessibility & contrast

On white

6.57
#3F5E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3F5E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5E8D
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5E8D#FFFFFF#000000##FFFFFF
##3F5E8D1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#425A8C
Tritanopia (blue-blind)
#12686F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f5e8d;
/* rgb */ color: rgb(63, 94, 141);
/* oklch */ color: oklch(48.0% 0.085 258.5);
Tailwind
colors: {
  custom: {
    50: '#7a8bae',
    500: '#3f5e8d',
    950: '#000000',
  },
}
SCSS
$custom: #3f5e8d;
$custom-light: #7a8bae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5e8d",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 141
  },
  "hsl": {
    "h": 216.154,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.47967,
    "c": 0.08473,
    "h": 258.5
  },
  "luminance": 0.10985
}

Semantic roles & 50–950 ramp

primary
#3F5E8D
secondary
#B19A77
accent
#A05ACE
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #3F5E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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