#3F38C3#3F38C3

#3F38C3 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.207 H 276.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3F38C3
RGBrgb(63, 56, 195)
HSLhsl(243, 55%, 49%)
HSVhsv(243, 71%, 76%)
CMYKcmyk(67.7%, 71.3%, 0%, 23.5%)
CIE-LABlab(33.61, 45.80, -71.22)
CIE-LCHlch(33.61, 84.68, 302.75°)
OKLaboklab(44.72% 0.0224 -0.2057)
OKLCHoklch(44.72% 0.207 276.2)
XYZxyz(13.3112, 7.8240, 52.4279)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38C3 #BCC338
analogous
#3876C3 #3F38C3 #8538C3
triadic
#3F38C3 #C33F38 #38C33F
tetradic
#3F38C3 #C33876 #BCC338 #38C385
square
#3F38C3 #C33876 #BCC338 #38C385
split-complementary
#3F38C3 #C38538 #76C338
monochromatic
#201D64 #302A93 #3F38C3 #6B65D3 #9995E1

Accessibility & contrast

On white

8.19
#3F38C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F38C3
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38C3#FFFFFF#000000##FFFFFF
##3F38C31.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f38c3;
/* rgb */ color: rgb(63, 56, 195);
/* oklch */ color: oklch(44.7% 0.207 276.2);
Tailwind
colors: {
  custom: {
    50: '#8670d6',
    500: '#3f38c3',
    950: '#000000',
  },
}
SCSS
$custom: #3f38c3;
$custom-light: #8670d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38c3",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 243.022,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44721,
    "c": 0.20697,
    "h": 276.2
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#3F38C3
secondary
#C9CC8B
accent
#DF49D7
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #3F38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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