#3F45BB#3F45BB

#3F45BB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.1% C 0.182 H 274.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#3F45BB
RGBrgb(63, 69, 187)
HSLhsl(237, 50%, 49%)
HSVhsv(237, 66%, 73%)
CMYKcmyk(66.3%, 63.1%, 0%, 26.7%)
CIE-LABlab(35.79, 35.33, -62.95)
CIE-LCHlch(35.79, 72.19, 299.30°)
OKLaboklab(46.08% 0.0141 -0.1815)
OKLCHoklch(46.08% 0.182 274.5)
XYZxyz(13.1447, 8.8997, 48.0292)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45BB #BBB53F
analogous
#3F83BB #3F45BB #773FBB
triadic
#3F45BB #BB3F45 #45BB3F
tetradic
#3F45BB #BB3F83 #BBB53F #3FBB77
square
#3F45BB #BB3F83 #BBB53F #3FBB77
split-complementary
#3F45BB #BB773F #83BB3F
monochromatic
#20235F #30348D #3F45BB #6A6FCD #989BDC

Accessibility & contrast

On white

7.55
#3F45BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3F45BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45BB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45BB#FFFFFF#000000##FFFFFF
##3F45BB1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f45bb;
/* rgb */ color: rgb(63, 69, 187);
/* oklch */ color: oklch(46.1% 0.182 274.5);
Tailwind
colors: {
  custom: {
    50: '#8379d0',
    500: '#3f45bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f45bb;
$custom-light: #8379d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45bb",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 237.097,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.18208,
    "h": 274.5
  },
  "luminance": 0.08901
}

Semantic roles & 50–950 ramp

primary
#3F45BB
secondary
#C8C58E
accent
#D24FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3F45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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