#3D3EC1#3D3EC1

#3D3EC1 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.3% C 0.198 H 274.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3D3EC1
RGBrgb(61, 62, 193)
HSLhsl(240, 52%, 50%)
HSVhsv(240, 68%, 76%)
CMYKcmyk(68.4%, 67.9%, 0%, 24.3%)
CIE-LABlab(34.57, 41.40, -68.47)
CIE-LCHlch(34.57, 80.02, 301.16°)
OKLaboklab(45.32% 0.0164 -0.1978)
OKLCHoklch(45.32% 0.198 274.7)
XYZxyz(13.2695, 8.2864, 51.3419)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EC1 #C1C03D
analogous
#3D80C1 #3D3EC1 #7E3DC1
triadic
#3D3EC1 #C13D3E #3EC13D
tetradic
#3D3EC1 #C13D80 #C1C03D #3DC17E
square
#3D3EC1 #C13D80 #C1C03D #3DC17E
split-complementary
#3D3EC1 #C17E3D #80C13D
monochromatic
#202064 #2E2F92 #3D3EC1 #6B6CD0 #999ADF

Accessibility & contrast

On white

7.90
#3D3EC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3D3EC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3EC1
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EC1#FFFFFF#000000##FFFFFF
##3D3EC11.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#004BBF
Tritanopia (blue-blind)
#00617A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d3ec1;
/* rgb */ color: rgb(61, 62, 193);
/* oklch */ color: oklch(45.3% 0.198 274.7);
Tailwind
colors: {
  custom: {
    50: '#8474d5',
    500: '#3d3ec1',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ec1;
$custom-light: #8474d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ec1",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 239.545,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45318,
    "c": 0.19848,
    "h": 274.7
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D3EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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