#3F5BB7#3F5BB7

#3F5BB7 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.149 H 267.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3F5BB7
RGBrgb(63, 91, 183)
HSLhsl(226, 49%, 48%)
HSVhsv(226, 66%, 72%)
CMYKcmyk(65.6%, 50.3%, 0%, 28.2%)
CIE-LABlab(41.15, 19.83, -51.91)
CIE-LCHlch(41.15, 55.57, 290.90°)
OKLaboklab(49.99% -0.0053 -0.1488)
OKLCHoklch(49.99% 0.149 267.9)
XYZxyz(14.3353, 11.9565, 46.3429)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BB7 #B79B3F
analogous
#3F97B7 #3F5BB7 #5F3FB7
triadic
#3F5BB7 #B73F5B #5BB73F
tetradic
#3F5BB7 #B73F97 #B79B3F #3FB75F
square
#3F5BB7 #B73F97 #B79B3F #3FB75F
split-complementary
#3F5BB7 #B75F3F #97B73F
monochromatic
#202E5C #2F4489 #3F5BB7 #687FCB #96A6DB

Accessibility & contrast

On white

6.19
#3F5BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3F5BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BB7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BB7#FFFFFF#000000##FFFFFF
##3F5BB71.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2767BA
Deuteranopia (green-blind)
#015CB5
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5bb7;
/* rgb */ color: rgb(63, 91, 183);
/* oklch */ color: oklch(50.0% 0.149 267.9);
Tailwind
colors: {
  custom: {
    50: '#8189cd',
    500: '#3f5bb7',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bb7;
$custom-light: #8189cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bb7",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 226,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49987,
    "c": 0.14893,
    "h": 267.9
  },
  "luminance": 0.11958
}

Semantic roles & 50–950 ramp

primary
#3F5BB7
secondary
#C6B98B
accent
#B84FD8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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