#3F38C5#3F38C5

#3F38C5 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.209 H 276.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3F38C5
RGBrgb(63, 56, 197)
HSLhsl(243, 56%, 50%)
HSVhsv(243, 72%, 77%)
CMYKcmyk(68%, 71.6%, 0%, 22.7%)
CIE-LABlab(33.81, 46.45, -72.07)
CIE-LCHlch(33.81, 85.74, 302.80°)
OKLaboklab(44.92% 0.0221 -0.2082)
OKLCHoklch(44.92% 0.209 276)
XYZxyz(13.5388, 7.9151, 53.6268)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38C5 #BEC538
analogous
#3877C5 #3F38C5 #8638C5
triadic
#3F38C5 #C53F38 #38C53F
tetradic
#3F38C5 #C53877 #BEC538 #38C586
square
#3F38C5 #C53877 #BEC538 #38C586
split-complementary
#3F38C5 #C58638 #77C538
monochromatic
#211D66 #302A95 #3F38C5 #6C67D4 #9A96E1

Accessibility & contrast

On white

8.13
#3F38C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3F38C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38C5
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38C5#FFFFFF#000000##FFFFFF
##3F38C51.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0049C2
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f38c5;
/* rgb */ color: rgb(63, 56, 197);
/* oklch */ color: oklch(44.9% 0.209 276.0);
Tailwind
colors: {
  custom: {
    50: '#8670d8',
    500: '#3f38c5',
    950: '#000000',
  },
}
SCSS
$custom: #3f38c5;
$custom-light: #8670d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38c5",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 242.979,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44916,
    "c": 0.20942,
    "h": 276
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#3F38C5
secondary
#C9CD8C
accent
#DF49D8
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F38C5

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

Preview Lab → · Contrast checker → · Palette generator →

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