#3F43BB#3F43BB

#3F43BB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.7% C 0.184 H 274.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3F43BB
RGBrgb(63, 67, 187)
HSLhsl(238, 50%, 49%)
HSVhsv(238, 66%, 73%)
CMYKcmyk(66.3%, 64.2%, 0%, 26.7%)
CIE-LABlab(35.32, 36.58, -63.73)
CIE-LCHlch(35.32, 73.48, 299.86°)
OKLaboklab(45.73% 0.0157 -0.1838)
OKLCHoklch(45.73% 0.184 274.9)
XYZxyz(13.0237, 8.6578, 47.9889)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F43BB #BBB73F
analogous
#3F81BB #3F43BB #793FBB
triadic
#3F43BB #BB3F43 #43BB3F
tetradic
#3F43BB #BB3F81 #BBB73F #3FBB79
square
#3F43BB #BB3F81 #BBB73F #3FBB79
split-complementary
#3F43BB #BB793F #81BB3F
monochromatic
#20225F #30338D #3F43BB #6A6DCD #989ADC

Accessibility & contrast

On white

7.69
#3F43BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3F43BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F43BB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F43BB#FFFFFF#000000##FFFFFF
##3F43BB1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f43bb;
/* rgb */ color: rgb(63, 67, 187);
/* oklch */ color: oklch(45.7% 0.184 274.9);
Tailwind
colors: {
  custom: {
    50: '#8377d0',
    500: '#3f43bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f43bb;
$custom-light: #8377d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f43bb",
  "rgb": {
    "r": 63,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 238.065,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45732,
    "c": 0.18449,
    "h": 274.9
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

primary
#3F43BB
secondary
#C8C68E
accent
#D54FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3F43BB

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

Preview Lab → · Contrast checker → · Palette generator →

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