#3F38BB#3F38BB

#3F38BB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 44.0% C 0.197 H 276.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#3F38BB
RGBrgb(63, 56, 187)
HSLhsl(243, 54%, 48%)
HSVhsv(243, 70%, 73%)
CMYKcmyk(66.3%, 70.1%, 0%, 26.7%)
CIE-LABlab(32.86, 43.20, -67.76)
CIE-LCHlch(32.86, 80.36, 302.52°)
OKLaboklab(43.95% 0.0237 -0.1956)
OKLCHoklch(43.95% 0.197 276.9)
XYZxyz(12.4308, 7.4719, 47.7912)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38BB #B4BB38
analogous
#3873BB #3F38BB #8038BB
triadic
#3F38BB #BB3F38 #38BB3F
tetradic
#3F38BB #BB3873 #B4BB38 #38BB80
square
#3F38BB #BB3873 #B4BB38 #38BB80
split-complementary
#3F38BB #BB8038 #73BB38
monochromatic
#1F1C5D #2F2A8C #3F38BB #6761D0 #9490DE

Accessibility & contrast

On white

8.42
#3F38BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3F38BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38BB
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38BB#FFFFFF#000000##FFFFFF
##3F38BB1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0048B9
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f38bb;
/* rgb */ color: rgb(63, 56, 187);
/* oklch */ color: oklch(44.0% 0.197 276.9);
Tailwind
colors: {
  custom: {
    50: '#8470d1',
    500: '#3f38bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f38bb;
$custom-light: #8470d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38bb",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 243.206,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43951,
    "c": 0.19707,
    "h": 276.9
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#3F38BB
secondary
#C5C886
accent
#DD4BD5
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3F38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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