#3F5B97#3F5B97

#3F5B97 is a mid, moderate blue. Relative luminance 0.108; OKLCH L 47.9% C 0.103 H 264.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#3F5B97
RGBrgb(63, 91, 151)
HSLhsl(221, 41%, 42%)
HSVhsv(221, 58%, 59%)
CMYKcmyk(58.3%, 39.7%, 0%, 40.8%)
CIE-LABlab(39.19, 8.49, -36.06)
CIE-LCHlch(39.19, 37.04, 283.25°)
OKLaboklab(47.86% -0.0107 -0.1023)
OKLCHoklch(47.86% 0.103 264)
XYZxyz(11.3750, 10.7724, 30.7520)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5B97 #977B3F
analogous
#3F8797 #3F5B97 #4F3F97
triadic
#3F5B97 #973F5B #5B973F
tetradic
#3F5B97 #973F87 #977B3F #3F974F
square
#3F5B97 #973F87 #977B3F #3F974F
split-complementary
#3F5B97 #974F3F #87973F
monochromatic
#1B2741 #2D416C #3F5B97 #5978BA #859BCC

Accessibility & contrast

On white

6.66
#3F5B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3F5B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5B97
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5B97#FFFFFF#000000##FFFFFF
##3F5B971.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426199
Deuteranopia (green-blind)
#375996
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f5b97;
/* rgb */ color: rgb(63, 91, 151);
/* oklch */ color: oklch(47.9% 0.103 264.0);
Tailwind
colors: {
  custom: {
    50: '#7b89b6',
    500: '#3f5b97',
    950: '#000000',
  },
}
SCSS
$custom: #3f5b97;
$custom-light: #7b89b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5b97",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 220.909,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47861,
    "c": 0.10283,
    "h": 264
  },
  "luminance": 0.10773
}

Semantic roles & 50–950 ramp

primary
#3F5B97
secondary
#B6A47C
accent
#AA57D1
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #3F5B97

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

Preview Lab → · Contrast checker → · Palette generator →

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