#3F5E8A#3F5E8A

#3F5E8A is a mid, moderate blue. Relative luminance 0.109; OKLCH L 47.8% C 0.080 H 257.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#3F5E8A
RGBrgb(63, 94, 138)
HSLhsl(215, 37%, 39%)
HSVhsv(215, 54%, 54%)
CMYKcmyk(54.3%, 31.9%, 0%, 45.9%)
CIE-LABlab(39.41, 2.15, -27.89)
CIE-LCHlch(39.41, 27.97, 274.40°)
OKLaboklab(47.8% -0.0178 -0.0784)
OKLCHoklch(47.8% 0.08 257.2)
XYZxyz(10.6385, 10.8963, 25.5824)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5E8A #8A6B3F
analogous
#3F848A #3F5E8A #463F8A
triadic
#3F5E8A #8A3F5E #5E8A3F
tetradic
#3F5E8A #8A3F84 #8A6B3F #3F8A46
square
#3F5E8A #8A3F84 #8A6B3F #3F8A46
split-complementary
#3F5E8A #8A463F #848A3F
monochromatic
#192536 #2C4160 #3F5E8A #557BB1 #7F9CC5

Accessibility & contrast

On white

6.61
#3F5E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3F5E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5E8A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5E8A#FFFFFF#000000##FFFFFF
##3F5E8A1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618C
Deuteranopia (green-blind)
#435A89
Tritanopia (blue-blind)
#17686E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f5e8a;
/* rgb */ color: rgb(63, 94, 138);
/* oklch */ color: oklch(47.8% 0.080 257.2);
Tailwind
colors: {
  custom: {
    50: '#798bac',
    500: '#3f5e8a',
    950: '#000000',
  },
}
SCSS
$custom: #3f5e8a;
$custom-light: #798bac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5e8a",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 215.2,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47802,
    "c": 0.08043,
    "h": 257.2
  },
  "luminance": 0.10897
}

Semantic roles & 50–950 ramp

primary
#3F5E8A
secondary
#AF9776
accent
#9E5BCD
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #3F5E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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