#3F38D3#3F38D3

#3F38D3 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.3% C 0.226 H 274.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3F38D3
RGBrgb(63, 56, 211)
HSLhsl(243, 64%, 52%)
HSVhsv(243, 73%, 83%)
CMYKcmyk(70.1%, 73.5%, 0%, 17.3%)
CIE-LABlab(35.18, 50.92, -77.95)
CIE-LCHlch(35.18, 93.11, 303.15°)
OKLaboklab(46.3% 0.0195 -0.2254)
OKLCHoklch(46.3% 0.226 274.9)
XYZxyz(15.2181, 8.5868, 62.4708)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38D3 #CCD338
analogous
#387ED3 #3F38D3 #8D38D3
triadic
#3F38D3 #D33F38 #38D33F
tetradic
#3F38D3 #D3387E #CCD338 #38D38D
square
#3F38D3 #D3387E #CCD338 #38D38D
split-complementary
#3F38D3 #D38D38 #7ED338
monochromatic
#1E1A76 #2B25A9 #3F38D3 #6F6ADE #A09CE9

Accessibility & contrast

On white

7.73
#3F38D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3F38D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38D3
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38D3#FFFFFF#000000##FFFFFF
##3F38D31.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD8
Deuteranopia (green-blind)
#004CD0
Tritanopia (blue-blind)
#006583
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f38d3;
/* rgb */ color: rgb(63, 56, 211);
/* oklch */ color: oklch(46.3% 0.226 274.9);
Tailwind
colors: {
  custom: {
    50: '#8971e2',
    500: '#3f38d3',
    950: '#000000',
  },
}
SCSS
$custom: #3f38d3;
$custom-light: #8971e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38d3",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 242.71,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.46302,
    "c": 0.22624,
    "h": 274.9
  },
  "luminance": 0.08588
}

Semantic roles & 50–950 ramp

primary
#3F38D3
secondary
#D2D592
accent
#E741DF
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3F38D3

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

Preview Lab → · Contrast checker → · Palette generator →

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