#3F5C8A#3F5C8A

#3F5C8A is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.3% C 0.083 H 259.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#3F5C8A
RGBrgb(63, 92, 138)
HSLhsl(217, 37%, 39%)
HSVhsv(217, 54%, 54%)
CMYKcmyk(54.3%, 33.3%, 0%, 45.9%)
CIE-LABlab(38.80, 3.41, -28.83)
CIE-LCHlch(38.80, 29.03, 276.74°)
OKLaboklab(47.33% -0.0153 -0.0812)
OKLCHoklch(47.33% 0.083 259.3)
XYZxyz(10.4629, 10.5452, 25.5239)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5C8A #8A6D3F
analogous
#3F828A #3F5C8A #483F8A
triadic
#3F5C8A #8A3F5C #5C8A3F
tetradic
#3F5C8A #8A3F82 #8A6D3F #3F8A48
square
#3F5C8A #8A3F82 #8A6D3F #3F8A48
split-complementary
#3F5C8A #8A483F #828A3F
monochromatic
#192436 #2C4060 #3F5C8A #5579B1 #7F9AC5

Accessibility & contrast

On white

6.75
#3F5C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3F5C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5C8A
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5C8A#FFFFFF#000000##FFFFFF
##3F5C8A1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8C
Deuteranopia (green-blind)
#415889
Tritanopia (blue-blind)
#17666D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f5c8a;
/* rgb */ color: rgb(63, 92, 138);
/* oklch */ color: oklch(47.3% 0.083 259.3);
Tailwind
colors: {
  custom: {
    50: '#7989ac',
    500: '#3f5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #3f5c8a;
$custom-light: #7989ac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5c8a",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 216.8,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47333,
    "c": 0.08261,
    "h": 259.3
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

primary
#3F5C8A
secondary
#AF9976
accent
#A15BCD
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3F5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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