#3F38C0#3F38C0

#3F38C0 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.4% C 0.203 H 276.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#3F38C0
RGBrgb(63, 56, 192)
HSLhsl(243, 55%, 49%)
HSVhsv(243, 71%, 75%)
CMYKcmyk(67.2%, 70.8%, 0%, 24.7%)
CIE-LABlab(33.33, 44.83, -69.93)
CIE-LCHlch(33.33, 83.06, 302.66°)
OKLaboklab(44.43% 0.0229 -0.202)
OKLCHoklch(44.43% 0.203 276.5)
XYZxyz(12.9754, 7.6897, 50.6594)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38C0 #B9C038
analogous
#3875C0 #3F38C0 #8338C0
triadic
#3F38C0 #C03F38 #38C03F
tetradic
#3F38C0 #C03875 #B9C038 #38C083
square
#3F38C0 #C03875 #B9C038 #38C083
split-complementary
#3F38C0 #C08338 #75C038
monochromatic
#201C61 #2F2A91 #3F38C0 #6964D2 #9793DF

Accessibility & contrast

On white

8.27
#3F38C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3F38C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38C0
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38C0#FFFFFF#000000##FFFFFF
##3F38C01.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f38c0;
/* rgb */ color: rgb(63, 56, 192);
/* oklch */ color: oklch(44.4% 0.203 276.5);
Tailwind
colors: {
  custom: {
    50: '#8570d4',
    500: '#3f38c0',
    950: '#000000',
  },
}
SCSS
$custom: #3f38c0;
$custom-light: #8570d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38c0",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 243.088,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44431,
    "c": 0.20329,
    "h": 276.5
  },
  "luminance": 0.07691
}

Semantic roles & 50–950 ramp

primary
#3F38C0
secondary
#C7CB89
accent
#DE4AD7
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3F38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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