#3F45C7#3F45C7

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

Color values

HEX#3F45C7
RGBrgb(63, 69, 199)
HSLhsl(237, 55%, 51%)
HSVhsv(237, 68%, 78%)
CMYKcmyk(68.3%, 65.3%, 0%, 22%)
CIE-LABlab(36.81, 39.44, -68.31)
CIE-LCHlch(36.81, 78.88, 300.00°)
OKLaboklab(47.14% 0.0133 -0.1972)
OKLCHoklch(47.14% 0.198 273.9)
XYZxyz(14.4834, 9.4352, 55.0797)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45C7 #C7C13F
analogous
#3F89C7 #3F45C7 #7D3FC7
triadic
#3F45C7 #C73F45 #45C73F
tetradic
#3F45C7 #C73F89 #C7C13F #3FC77D
square
#3F45C7 #C73F89 #C7C13F #3FC77D
split-complementary
#3F45C7 #C77D3F #89C73F
monochromatic
#20236C #2D329B #3F45C7 #6E73D5 #9EA1E3

Accessibility & contrast

On white

7.27
#3F45C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3F45C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45C7
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45C7#FFFFFF#000000##FFFFFF
##3F45C71.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f45c7;
/* rgb */ color: rgb(63, 69, 199);
/* oklch */ color: oklch(47.1% 0.198 273.9);
Tailwind
colors: {
  custom: {
    50: '#8579d9',
    500: '#3f45c7',
    950: '#000000',
  },
}
SCSS
$custom: #3f45c7;
$custom-light: #8579d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45c7",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 237.353,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47138,
    "c": 0.19769,
    "h": 273.9
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#3F45C7
secondary
#CFCC93
accent
#D84ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3F45C7

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

Preview Lab → · Contrast checker → · Palette generator →

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