#3F45BD#3F45BD

#3F45BD is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.3% C 0.185 H 274.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#3F45BD
RGBrgb(63, 69, 189)
HSLhsl(237, 50%, 49%)
HSVhsv(237, 67%, 74%)
CMYKcmyk(66.7%, 63.5%, 0%, 25.9%)
CIE-LABlab(35.96, 36.02, -63.85)
CIE-LCHlch(35.96, 73.31, 299.43°)
OKLaboklab(46.25% 0.014 -0.1842)
OKLCHoklch(46.25% 0.185 274.4)
XYZxyz(13.3603, 8.9859, 49.1646)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45BD #BDB73F
analogous
#3F84BD #3F45BD #783FBD
triadic
#3F45BD #BD3F45 #45BD3F
tetradic
#3F45BD #BD3F84 #BDB73F #3FBD78
square
#3F45BD #BD3F84 #BDB73F #3FBD78
split-complementary
#3F45BD #BD783F #84BD3F
monochromatic
#202361 #30348F #3F45BD #6B70CE #999DDD

Accessibility & contrast

On white

7.51
#3F45BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3F45BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45BD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45BD#FFFFFF#000000##FFFFFF
##3F45BD1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f45bd;
/* rgb */ color: rgb(63, 69, 189);
/* oklch */ color: oklch(46.3% 0.185 274.4);
Tailwind
colors: {
  custom: {
    50: '#8379d2',
    500: '#3f45bd',
    950: '#000000',
  },
}
SCSS
$custom: #3f45bd;
$custom-light: #8379d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45bd",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 237.143,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46253,
    "c": 0.18471,
    "h": 274.4
  },
  "luminance": 0.08987
}

Semantic roles & 50–950 ramp

primary
#3F45BD
secondary
#C9C68F
accent
#D34EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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