#3F5B98#3F5B98

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

Color values

HEX#3F5B98
RGBrgb(63, 91, 152)
HSLhsl(221, 41%, 42%)
HSVhsv(221, 59%, 60%)
CMYKcmyk(58.6%, 40.1%, 0%, 40.4%)
CIE-LABlab(39.25, 8.84, -36.57)
CIE-LCHlch(39.25, 37.62, 283.59°)
OKLaboklab(47.92% -0.0105 -0.1038)
OKLCHoklch(47.92% 0.104 264.2)
XYZxyz(11.4565, 10.8050, 31.1815)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5B98 #987C3F
analogous
#3F8798 #3F5B98 #503F98
triadic
#3F5B98 #983F5B #5B983F
tetradic
#3F5B98 #983F87 #987C3F #3F9850
square
#3F5B98 #983F87 #987C3F #3F9850
split-complementary
#3F5B98 #98503F #87983F
monochromatic
#1B2741 #2D416D #3F5B98 #5A78BA #859BCC

Accessibility & contrast

On white

6.64
#3F5B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3F5B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5B98
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5B98#FFFFFF#000000##FFFFFF
##3F5B981.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619A
Deuteranopia (green-blind)
#365997
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f5b98;
/* rgb */ color: rgb(63, 91, 152);
/* oklch */ color: oklch(47.9% 0.104 264.2);
Tailwind
colors: {
  custom: {
    50: '#7b89b6',
    500: '#3f5b98',
    950: '#000000',
  },
}
SCSS
$custom: #3f5b98;
$custom-light: #7b89b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5b98",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 152
  },
  "hsl": {
    "h": 221.124,
    "s": 41.395,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47922,
    "c": 0.1043,
    "h": 264.2
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#3F5B98
secondary
#B7A47C
accent
#AB57D1
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #3F5B98

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

Preview Lab → · Contrast checker → · Palette generator →

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