#3F43BA#3F43BA

#3F43BA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.6% C 0.183 H 274.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3F43BA
RGBrgb(63, 67, 186)
HSLhsl(238, 49%, 49%)
HSVhsv(238, 66%, 73%)
CMYKcmyk(66.1%, 64%, 0%, 27.1%)
CIE-LABlab(35.23, 36.24, -63.27)
CIE-LCHlch(35.23, 72.92, 299.80°)
OKLaboklab(45.64% 0.0158 -0.1825)
OKLCHoklch(45.64% 0.183 274.9)
XYZxyz(12.9171, 8.6151, 47.4270)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F43BA #BAB63F
analogous
#3F81BA #3F43BA #793FBA
triadic
#3F43BA #BA3F43 #43BA3F
tetradic
#3F43BA #BA3F81 #BAB63F #3FBA79
square
#3F43BA #BA3F81 #BAB63F #3FBA79
split-complementary
#3F43BA #BA793F #81BA3F
monochromatic
#20225F #30338C #3F43BA #6A6DCC #979ADC

Accessibility & contrast

On white

7.71
#3F43BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3F43BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F43BA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F43BA#FFFFFF#000000##FFFFFF
##3F43BA1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f43ba;
/* rgb */ color: rgb(63, 67, 186);
/* oklch */ color: oklch(45.6% 0.183 274.9);
Tailwind
colors: {
  custom: {
    50: '#8377d0',
    500: '#3f43ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f43ba;
$custom-light: #8377d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f43ba",
  "rgb": {
    "r": 63,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 238.049,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45644,
    "c": 0.18317,
    "h": 274.9
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#3F43BA
secondary
#C8C68D
accent
#D44FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3F43BA

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

Preview Lab → · Contrast checker → · Palette generator →

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