#3F5CB7#3F5CB7

#3F5CB7 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.148 H 267.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#3F5CB7
RGBrgb(63, 92, 183)
HSLhsl(226, 49%, 48%)
HSVhsv(226, 66%, 72%)
CMYKcmyk(65.6%, 49.7%, 0%, 28.2%)
CIE-LABlab(41.42, 19.18, -51.47)
CIE-LCHlch(41.42, 54.93, 290.44°)
OKLaboklab(50.19% -0.0063 -0.1475)
OKLCHoklch(50.19% 0.148 267.6)
XYZxyz(14.4214, 12.1286, 46.3716)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CB7 #B79A3F
analogous
#3F98B7 #3F5CB7 #5E3FB7
triadic
#3F5CB7 #B73F5C #5CB73F
tetradic
#3F5CB7 #B73F98 #B79A3F #3FB75E
square
#3F5CB7 #B73F98 #B79A3F #3FB75E
split-complementary
#3F5CB7 #B75E3F #98B73F
monochromatic
#202E5C #2F4589 #3F5CB7 #6880CB #96A6DB

Accessibility & contrast

On white

6.13
#3F5CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3F5CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CB7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CB7#FFFFFF#000000##FFFFFF
##3F5CB71.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A67BA
Deuteranopia (green-blind)
#085DB5
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f5cb7;
/* rgb */ color: rgb(63, 92, 183);
/* oklch */ color: oklch(50.2% 0.148 267.6);
Tailwind
colors: {
  custom: {
    50: '#8189cd',
    500: '#3f5cb7',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cb7;
$custom-light: #8189cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cb7",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 225.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50194,
    "c": 0.14765,
    "h": 267.6
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#3F5CB7
secondary
#C6B88B
accent
#B74FD8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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