#3F43C2#3F43C2

#3F43C2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.4% C 0.194 H 274.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#3F43C2
RGBrgb(63, 67, 194)
HSLhsl(238, 52%, 50%)
HSVhsv(238, 68%, 76%)
CMYKcmyk(67.5%, 65.5%, 0%, 23.9%)
CIE-LABlab(35.92, 38.96, -66.85)
CIE-LCHlch(35.92, 77.38, 300.23°)
OKLaboklab(46.36% 0.0151 -0.193)
OKLCHoklch(46.36% 0.194 274.5)
XYZxyz(13.7914, 8.9649, 52.0321)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F43C2 #C2BE3F
analogous
#3F84C2 #3F43C2 #7C3FC2
triadic
#3F43C2 #C23F43 #43C23F
tetradic
#3F43C2 #C23F84 #C2BE3F #3FC27C
square
#3F43C2 #C23F84 #C2BE3F #3FC27C
split-complementary
#3F43C2 #C27C3F #84C23F
monochromatic
#202366 #2F3295 #3F43C2 #6D70D1 #9C9EE0

Accessibility & contrast

On white

7.52
#3F43C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3F43C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F43C2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F43C2#FFFFFF#000000##FFFFFF
##3F43C21.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f43c2;
/* rgb */ color: rgb(63, 67, 194);
/* oklch */ color: oklch(46.4% 0.194 274.5);
Tailwind
colors: {
  custom: {
    50: '#8577d5',
    500: '#3f43c2',
    950: '#000000',
  },
}
SCSS
$custom: #3f43c2;
$custom-light: #8577d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f43c2",
  "rgb": {
    "r": 63,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 238.168,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46355,
    "c": 0.19357,
    "h": 274.5
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#3F43C2
secondary
#CCCA91
accent
#D74DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F43C2

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

Preview Lab → · Contrast checker → · Palette generator →

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