#3F45C3#3F45C3

#3F45C3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.193 H 274.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#3F45C3
RGBrgb(63, 69, 195)
HSLhsl(237, 52%, 51%)
HSVhsv(237, 68%, 76%)
CMYKcmyk(67.7%, 64.6%, 0%, 23.5%)
CIE-LABlab(36.46, 38.08, -66.54)
CIE-LCHlch(36.46, 76.66, 299.78°)
OKLaboklab(46.78% 0.0136 -0.192)
OKLCHoklch(46.78% 0.193 274.1)
XYZxyz(14.0251, 9.2518, 52.6658)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45C3 #C3BD3F
analogous
#3F87C3 #3F45C3 #7B3FC3
triadic
#3F45C3 #C33F45 #45C33F
tetradic
#3F45C3 #C33F87 #C3BD3F #3FC37B
square
#3F45C3 #C33F87 #C3BD3F #3FC37B
split-complementary
#3F45C3 #C37B3F #87C33F
monochromatic
#202467 #2F3496 #3F45C3 #6E72D2 #9C9FE0

Accessibility & contrast

On white

7.37
#3F45C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3F45C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45C3
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45C3#FFFFFF#000000##FFFFFF
##3F45C31.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f45c3;
/* rgb */ color: rgb(63, 69, 195);
/* oklch */ color: oklch(46.8% 0.193 274.1);
Tailwind
colors: {
  custom: {
    50: '#8579d6',
    500: '#3f45c3',
    950: '#000000',
  },
}
SCSS
$custom: #3f45c3;
$custom-light: #8579d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45c3",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 237.273,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46781,
    "c": 0.19253,
    "h": 274.1
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#3F45C3
secondary
#CCCA92
accent
#D54CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F45C3

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

Preview Lab → · Contrast checker → · Palette generator →

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