#3F45C5#3F45C5

#3F45C5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.0% C 0.195 H 273.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#3F45C5
RGBrgb(63, 69, 197)
HSLhsl(237, 54%, 51%)
HSVhsv(237, 68%, 77%)
CMYKcmyk(68%, 65%, 0%, 22.7%)
CIE-LABlab(36.64, 38.76, -67.43)
CIE-LCHlch(36.64, 77.77, 299.89°)
OKLaboklab(46.96% 0.0134 -0.1946)
OKLCHoklch(46.96% 0.195 273.9)
XYZxyz(14.2527, 9.3429, 53.8647)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45C5 #C5BF3F
analogous
#3F88C5 #3F45C5 #7C3FC5
triadic
#3F45C5 #C53F45 #45C53F
tetradic
#3F45C5 #C53F88 #C5BF3F #3FC57C
square
#3F45C5 #C53F88 #C5BF3F #3FC57C
split-complementary
#3F45C5 #C57C3F #88C53F
monochromatic
#20236A #2E3399 #3F45C5 #6E73D3 #9DA0E1

Accessibility & contrast

On white

7.32
#3F45C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3F45C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45C5
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45C5#FFFFFF#000000##FFFFFF
##3F45C51.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f45c5;
/* rgb */ color: rgb(63, 69, 197);
/* oklch */ color: oklch(47.0% 0.195 273.9);
Tailwind
colors: {
  custom: {
    50: '#8579d8',
    500: '#3f45c5',
    950: '#000000',
  },
}
SCSS
$custom: #3f45c5;
$custom-light: #8579d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45c5",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 237.313,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46959,
    "c": 0.19511,
    "h": 273.9
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#3F45C5
secondary
#CECB92
accent
#D64BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3F45C5

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

Preview Lab → · Contrast checker → · Palette generator →

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