#3F5BC3#3F5BC3

#3F5BC3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.166 H 268.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#3F5BC3
RGBrgb(63, 91, 195)
HSLhsl(227, 52%, 51%)
HSVhsv(227, 68%, 76%)
CMYKcmyk(67.7%, 53.3%, 0%, 23.5%)
CIE-LABlab(41.97, 24.13, -57.59)
CIE-LCHlch(41.97, 62.44, 292.73°)
OKLaboklab(50.87% -0.0042 -0.1655)
OKLCHoklch(50.87% 0.166 268.5)
XYZxyz(15.6379, 12.4776, 53.2035)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BC3 #C3A73F
analogous
#3F9DC3 #3F5BC3 #653FC3
triadic
#3F5BC3 #C33F5B #5BC33F
tetradic
#3F5BC3 #C33F9D #C3A73F #3FC365
square
#3F5BC3 #C33F9D #C3A73F #3FC365
split-complementary
#3F5BC3 #C3653F #9DC33F
monochromatic
#202F67 #2F4596 #3F5BC3 #6E83D2 #9CABE0

Accessibility & contrast

On white

6.01
#3F5BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3F5BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BC3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BC3#FFFFFF#000000##FFFFFF
##3F5BC31.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1269C7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f5bc3;
/* rgb */ color: rgb(63, 91, 195);
/* oklch */ color: oklch(50.9% 0.166 268.5);
Tailwind
colors: {
  custom: {
    50: '#8389d6',
    500: '#3f5bc3',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bc3;
$custom-light: #8389d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bc3",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 227.273,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50867,
    "c": 0.16558,
    "h": 268.5
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#3F5BC3
secondary
#CCC092
accent
#BD4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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