#3F45BC#3F45BC

#3F45BC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.2% C 0.183 H 274.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#3F45BC
RGBrgb(63, 69, 188)
HSLhsl(237, 50%, 49%)
HSVhsv(237, 66%, 74%)
CMYKcmyk(66.5%, 63.3%, 0%, 26.3%)
CIE-LABlab(35.87, 35.68, -63.40)
CIE-LCHlch(35.87, 72.75, 299.37°)
OKLaboklab(46.17% 0.0141 -0.1829)
OKLCHoklch(46.17% 0.183 274.4)
XYZxyz(13.2521, 8.9427, 48.5949)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45BC #BCB63F
analogous
#3F84BC #3F45BC #783FBC
triadic
#3F45BC #BC3F45 #45BC3F
tetradic
#3F45BC #BC3F84 #BCB63F #3FBC78
square
#3F45BC #BC3F84 #BCB63F #3FBC78
split-complementary
#3F45BC #BC783F #84BC3F
monochromatic
#202360 #30348E #3F45BC #6B70CD #999CDD

Accessibility & contrast

On white

7.53
#3F45BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3F45BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45BC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45BC#FFFFFF#000000##FFFFFF
##3F45BC1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f45bc;
/* rgb */ color: rgb(63, 69, 188);
/* oklch */ color: oklch(46.2% 0.183 274.4);
Tailwind
colors: {
  custom: {
    50: '#8379d1',
    500: '#3f45bc',
    950: '#000000',
  },
}
SCSS
$custom: #3f45bc;
$custom-light: #8379d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45bc",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 237.12,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46166,
    "c": 0.1834,
    "h": 274.4
  },
  "luminance": 0.08944
}

Semantic roles & 50–950 ramp

primary
#3F45BC
secondary
#C9C68E
accent
#D34ED9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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