#3F38C2#3F38C2

#3F38C2 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.6% C 0.206 H 276.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3F38C2
RGBrgb(63, 56, 194)
HSLhsl(243, 55%, 49%)
HSVhsv(243, 71%, 76%)
CMYKcmyk(67.5%, 71.1%, 0%, 23.9%)
CIE-LABlab(33.52, 45.48, -70.79)
CIE-LCHlch(33.52, 84.14, 302.72°)
OKLaboklab(44.62% 0.0226 -0.2045)
OKLCHoklch(44.62% 0.206 276.3)
XYZxyz(13.1985, 7.7790, 51.8344)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38C2 #BBC238
analogous
#3876C2 #3F38C2 #8438C2
triadic
#3F38C2 #C23F38 #38C23F
tetradic
#3F38C2 #C23876 #BBC238 #38C284
square
#3F38C2 #C23876 #BBC238 #38C284
split-complementary
#3F38C2 #C28438 #76C238
monochromatic
#201D63 #302A93 #3F38C2 #6A65D2 #9894E0

Accessibility & contrast

On white

8.22
#3F38C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3F38C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38C2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38C2#FFFFFF#000000##FFFFFF
##3F38C21.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#0049BF
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f38c2;
/* rgb */ color: rgb(63, 56, 194);
/* oklch */ color: oklch(44.6% 0.206 276.3);
Tailwind
colors: {
  custom: {
    50: '#8570d6',
    500: '#3f38c2',
    950: '#000000',
  },
}
SCSS
$custom: #3f38c2;
$custom-light: #8570d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38c2",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 243.043,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44624,
    "c": 0.20574,
    "h": 276.3
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F38C2

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

Preview Lab → · Contrast checker → · Palette generator →

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