#3F38BD#3F38BD

#3F38BD is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.1% C 0.200 H 276.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3F38BD
RGBrgb(63, 56, 189)
HSLhsl(243, 54%, 48%)
HSVhsv(243, 70%, 74%)
CMYKcmyk(66.7%, 70.4%, 0%, 25.9%)
CIE-LABlab(33.05, 43.86, -68.63)
CIE-LCHlch(33.05, 81.44, 302.58°)
OKLaboklab(44.14% 0.0234 -0.1982)
OKLCHoklch(44.14% 0.2 276.7)
XYZxyz(12.6464, 7.5581, 48.9267)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38BD #B6BD38
analogous
#3873BD #3F38BD #8138BD
triadic
#3F38BD #BD3F38 #38BD3F
tetradic
#3F38BD #BD3873 #B6BD38 #38BD81
square
#3F38BD #BD3873 #B6BD38 #38BD81
split-complementary
#3F38BD #BD8138 #73BD38
monochromatic
#201C5F #2F2A8E #3F38BD #6862D0 #9591DE

Accessibility & contrast

On white

8.36
#3F38BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3F38BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38BD
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38BD#FFFFFF#000000##FFFFFF
##3F38BD1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0048BB
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f38bd;
/* rgb */ color: rgb(63, 56, 189);
/* oklch */ color: oklch(44.1% 0.200 276.7);
Tailwind
colors: {
  custom: {
    50: '#8470d2',
    500: '#3f38bd',
    950: '#000000',
  },
}
SCSS
$custom: #3f38bd;
$custom-light: #8470d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38bd",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 243.158,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44142,
    "c": 0.19957,
    "h": 276.7
  },
  "luminance": 0.07559
}

Semantic roles & 50–950 ramp

primary
#3F38BD
secondary
#C6C987
accent
#DE4AD6
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3F38BD

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

Preview Lab → · Contrast checker → · Palette generator →

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