#3F45C2#3F45C2

#3F45C2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.7% C 0.191 H 274.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#3F45C2
RGBrgb(63, 69, 194)
HSLhsl(237, 52%, 50%)
HSVhsv(237, 68%, 76%)
CMYKcmyk(67.5%, 64.4%, 0%, 23.9%)
CIE-LABlab(36.38, 37.73, -66.09)
CIE-LCHlch(36.38, 76.11, 299.72°)
OKLaboklab(46.69% 0.0137 -0.1907)
OKLCHoklch(46.69% 0.191 274.1)
XYZxyz(13.9124, 9.2068, 52.0724)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F45C2 #C2BC3F
analogous
#3F86C2 #3F45C2 #7A3FC2
triadic
#3F45C2 #C23F45 #45C23F
tetradic
#3F45C2 #C23F86 #C2BC3F #3FC27A
square
#3F45C2 #C23F86 #C2BC3F #3FC27A
split-complementary
#3F45C2 #C27A3F #86C23F
monochromatic
#202466 #2F3495 #3F45C2 #6D72D1 #9C9FE0

Accessibility & contrast

On white

7.39
#3F45C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3F45C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F45C2
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F45C2#FFFFFF#000000##FFFFFF
##3F45C21.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f45c2;
/* rgb */ color: rgb(63, 69, 194);
/* oklch */ color: oklch(46.7% 0.191 274.1);
Tailwind
colors: {
  custom: {
    50: '#8479d5',
    500: '#3f45c2',
    950: '#000000',
  },
}
SCSS
$custom: #3f45c2;
$custom-light: #8479d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f45c2",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 237.252,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46692,
    "c": 0.19124,
    "h": 274.1
  },
  "luminance": 0.09208
}

Semantic roles & 50–950 ramp

primary
#3F45C2
secondary
#CCC991
accent
#D54DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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