#3F598B#3F598B

#3F598B is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.7% C 0.088 H 262.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#3F598B
RGBrgb(63, 89, 139)
HSLhsl(219, 38%, 40%)
HSVhsv(219, 55%, 55%)
CMYKcmyk(54.7%, 36%, 0%, 45.5%)
CIE-LABlab(37.96, 5.65, -30.76)
CIE-LCHlch(37.96, 31.28, 280.41°)
OKLaboklab(46.69% -0.0113 -0.0868)
OKLCHoklch(46.69% 0.088 262.6)
XYZxyz(10.2809, 10.0648, 25.8220)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F598B #8B713F
analogous
#3F7F8B #3F598B #4B3F8B
triadic
#3F598B #8B3F59 #598B3F
tetradic
#3F598B #8B3F7F #8B713F #3F8B4B
square
#3F598B #8B3F7F #8B713F #3F8B4B
split-complementary
#3F598B #8B4B3F #7F8B3F
monochromatic
#192337 #2C3E61 #3F598B #5575B2 #7F97C5

Accessibility & contrast

On white

6.97
#3F598B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3F598B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F598B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F598B#FFFFFF#000000##FFFFFF
##3F598B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8D
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#17646B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f598b;
/* rgb */ color: rgb(63, 89, 139);
/* oklch */ color: oklch(46.7% 0.088 262.6);
Tailwind
colors: {
  custom: {
    50: '#7987ad',
    500: '#3f598b',
    950: '#000000',
  },
}
SCSS
$custom: #3f598b;
$custom-light: #7987ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3f598b",
  "rgb": {
    "r": 63,
    "g": 89,
    "b": 139
  },
  "hsl": {
    "h": 219.474,
    "s": 37.624,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46692,
    "c": 0.08756,
    "h": 262.6
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#3F598B
secondary
#AF9C76
accent
#A65ACE
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3F598B

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

Preview Lab → · Contrast checker → · Palette generator →

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