#3D3FC1#3D3FC1

#3D3FC1 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.5% C 0.197 H 274.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3D3FC1
RGBrgb(61, 63, 193)
HSLhsl(239, 52%, 50%)
HSVhsv(239, 68%, 76%)
CMYKcmyk(68.4%, 67.4%, 0%, 24.3%)
CIE-LABlab(34.79, 40.80, -68.11)
CIE-LCHlch(34.79, 79.39, 300.92°)
OKLaboklab(45.48% 0.0157 -0.1967)
OKLCHoklch(45.48% 0.197 274.6)
XYZxyz(13.3244, 8.3961, 51.3602)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FC1 #C1BF3D
analogous
#3D81C1 #3D3FC1 #7D3DC1
triadic
#3D3FC1 #C13D3F #3FC13D
tetradic
#3D3FC1 #C13D81 #C1BF3D #3DC17D
square
#3D3FC1 #C13D81 #C1BF3D #3DC17D
split-complementary
#3D3FC1 #C17D3D #81C13D
monochromatic
#202164 #2E3092 #3D3FC1 #6B6DD0 #999BDF

Accessibility & contrast

On white

7.84
#3D3FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3D3FC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FC1
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FC1#FFFFFF#000000##FFFFFF
##3D3FC11.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d3fc1;
/* rgb */ color: rgb(61, 63, 193);
/* oklch */ color: oklch(45.5% 0.197 274.6);
Tailwind
colors: {
  custom: {
    50: '#8475d5',
    500: '#3d3fc1',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fc1;
$custom-light: #8475d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fc1",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 193
  },
  "hsl": {
    "h": 239.091,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45479,
    "c": 0.19736,
    "h": 274.6
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#3D3FC1
secondary
#CBCA8F
accent
#D94CDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3D3FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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