#3F43C5#3F43C5

#3F43C5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.197 H 274.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#3F43C5
RGBrgb(63, 67, 197)
HSLhsl(238, 54%, 51%)
HSVhsv(238, 68%, 77%)
CMYKcmyk(68%, 66%, 0%, 22.7%)
CIE-LABlab(36.18, 39.98, -68.18)
CIE-LCHlch(36.18, 79.03, 300.39°)
OKLaboklab(46.63% 0.0149 -0.1969)
OKLCHoklch(46.63% 0.197 274.3)
XYZxyz(14.1318, 9.1010, 53.8244)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F43C5 #C5C13F
analogous
#3F86C5 #3F43C5 #7E3FC5
triadic
#3F43C5 #C53F43 #43C53F
tetradic
#3F43C5 #C53F86 #C5C13F #3FC57E
square
#3F43C5 #C53F86 #C5C13F #3FC57E
split-complementary
#3F43C5 #C57E3F #86C53F
monochromatic
#20226A #2E3199 #3F43C5 #6E71D3 #9D9FE1

Accessibility & contrast

On white

7.45
#3F43C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3F43C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F43C5
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F43C5#FFFFFF#000000##FFFFFF
##3F43C51.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#004FC3
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f43c5;
/* rgb */ color: rgb(63, 67, 197);
/* oklch */ color: oklch(46.6% 0.197 274.3);
Tailwind
colors: {
  custom: {
    50: '#8577d8',
    500: '#3f43c5',
    950: '#000000',
  },
}
SCSS
$custom: #3f43c5;
$custom-light: #8577d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f43c5",
  "rgb": {
    "r": 63,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 238.209,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46625,
    "c": 0.19742,
    "h": 274.3
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

primary
#3F43C5
secondary
#CECC92
accent
#D94BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3F43C5

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

Preview Lab → · Contrast checker → · Palette generator →

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