#3F45C6#3F45C6

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

Color values

HEX#3F45C6
RGBrgb(63, 69, 198)
HSLhsl(237, 54%, 51%)
HSVhsv(237, 68%, 78%)
CMYKcmyk(68.2%, 65.2%, 0%, 22.4%)
CIE-LABlab(36.72, 39.10, -67.87)
CIE-LCHlch(36.72, 78.32, 299.95°)
OKLaboklab(47.05% 0.0134 -0.196)
OKLCHoklch(47.05% 0.196 273.9)
XYZxyz(14.3677, 9.3889, 54.4702)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45C6 #C6C03F
analogous
#3F88C6 #3F45C6 #7C3FC6
triadic
#3F45C6 #C63F45 #45C63F
tetradic
#3F45C6 #C63F88 #C6C03F #3FC67C
square
#3F45C6 #C63F88 #C6C03F #3FC67C
split-complementary
#3F45C6 #C67C3F #88C63F
monochromatic
#20236B #2E339A #3F45C6 #6E73D4 #9DA0E2

Accessibility & contrast

On white

7.30
#3F45C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3F45C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45C6
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45C6#FFFFFF#000000##FFFFFF
##3F45C61.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0050C4
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f45c6;
/* rgb */ color: rgb(63, 69, 198);
/* oklch */ color: oklch(47.0% 0.196 273.9);
Tailwind
colors: {
  custom: {
    50: '#8579d8',
    500: '#3f45c6',
    950: '#000000',
  },
}
SCSS
$custom: #3f45c6;
$custom-light: #8579d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45c6",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 237.333,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47048,
    "c": 0.1964,
    "h": 273.9
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#3F45C6
secondary
#CECC93
accent
#D74ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3F45C6

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

Preview Lab → · Contrast checker → · Palette generator →

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