#3F5CBF#3F5CBF

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

Color values

HEX#3F5CBF
RGBrgb(63, 92, 191)
HSLhsl(226, 50%, 50%)
HSVhsv(226, 67%, 75%)
CMYKcmyk(67%, 51.8%, 0%, 25.1%)
CIE-LABlab(41.96, 22.05, -55.28)
CIE-LCHlch(41.96, 59.52, 291.75°)
OKLaboklab(50.77% -0.0054 -0.1587)
OKLCHoklch(50.77% 0.159 268)
XYZxyz(15.2778, 12.4712, 50.8822)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CBF #BFA23F
analogous
#3F9CBF #3F5CBF #623FBF
triadic
#3F5CBF #BF3F5C #5CBF3F
tetradic
#3F5CBF #BF3F9C #BFA23F #3FBF62
square
#3F5CBF #BF3F9C #BFA23F #3FBF62
split-complementary
#3F5CBF #BF623F #9CBF3F
monochromatic
#213063 #304691 #3F5CBF #6D83CF #9BAADE

Accessibility & contrast

On white

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

On black

3.49
#3F5CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3F5CBF#FFFFFF#000000##FFFFFF
##3F5CBF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f5cbf;
/* rgb */ color: rgb(63, 92, 191);
/* oklch */ color: oklch(50.8% 0.159 268.0);
Tailwind
colors: {
  custom: {
    50: '#8289d3',
    500: '#3f5cbf',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cbf;
$custom-light: #8289d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cbf",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 226.406,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50772,
    "c": 0.15881,
    "h": 268
  },
  "luminance": 0.12473
}

Semantic roles & 50–950 ramp

primary
#3F5CBF
secondary
#CABD90
accent
#BA4EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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