#3F38C4#3F38C4

#3F38C4 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.8% C 0.208 H 276.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3F38C4
RGBrgb(63, 56, 196)
HSLhsl(243, 56%, 49%)
HSVhsv(243, 71%, 77%)
CMYKcmyk(67.9%, 71.4%, 0%, 23.1%)
CIE-LABlab(33.71, 46.13, -71.65)
CIE-LCHlch(33.71, 85.21, 302.77°)
OKLaboklab(44.82% 0.0222 -0.207)
OKLCHoklch(44.82% 0.208 276.1)
XYZxyz(13.4246, 7.8694, 53.0253)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38C4 #BDC438
analogous
#3877C4 #3F38C4 #8538C4
triadic
#3F38C4 #C43F38 #38C43F
tetradic
#3F38C4 #C43877 #BDC438 #38C485
square
#3F38C4 #C43877 #BDC438 #38C485
split-complementary
#3F38C4 #C48538 #77C438
monochromatic
#201D65 #302A94 #3F38C4 #6B66D3 #9996E1

Accessibility & contrast

On white

8.16
#3F38C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3F38C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38C4
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38C4#FFFFFF#000000##FFFFFF
##3F38C41.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0049C1
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f38c4;
/* rgb */ color: rgb(63, 56, 196);
/* oklch */ color: oklch(44.8% 0.208 276.1);
Tailwind
colors: {
  custom: {
    50: '#8670d7',
    500: '#3f38c4',
    950: '#000000',
  },
}
SCSS
$custom: #3f38c4;
$custom-light: #8670d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38c4",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 243,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44818,
    "c": 0.20819,
    "h": 276.1
  },
  "luminance": 0.07871
}

Semantic roles & 50–950 ramp

primary
#3F38C4
secondary
#C9CC8C
accent
#DF49D7
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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