#3D3EC6#3D3EC6

#3D3EC6 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.8% C 0.205 H 274.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3D3EC6
RGBrgb(61, 62, 198)
HSLhsl(240, 55%, 51%)
HSVhsv(240, 69%, 78%)
CMYKcmyk(69.2%, 68.7%, 0%, 22.4%)
CIE-LABlab(35.03, 43.07, -70.65)
CIE-LCHlch(35.03, 82.74, 301.37°)
OKLaboklab(45.79% 0.0158 -0.2041)
OKLCHoklch(45.79% 0.205 274.4)
XYZxyz(13.8368, 8.5133, 54.3292)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EC6 #C6C53D
analogous
#3D82C6 #3D3EC6 #803DC6
triadic
#3D3EC6 #C63D3E #3EC63D
tetradic
#3D3EC6 #C63D82 #C6C53D #3DC680
square
#3D3EC6 #C63D82 #C6C53D #3DC680
split-complementary
#3D3EC6 #C6803D #82C63D
monochromatic
#1F206A #2D2E99 #3D3EC6 #6C6DD4 #9C9CE2

Accessibility & contrast

On white

7.77
#3D3EC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3D3EC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3EC6
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EC6#FFFFFF#000000##FFFFFF
##3D3EC61.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d3ec6;
/* rgb */ color: rgb(61, 62, 198);
/* oklch */ color: oklch(45.8% 0.205 274.4);
Tailwind
colors: {
  custom: {
    50: '#8574d8',
    500: '#3d3ec6',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ec6;
$custom-light: #8574d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ec6",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 239.562,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45788,
    "c": 0.20476,
    "h": 274.4
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#3D3EC6
secondary
#CECD91
accent
#DD4ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3D3EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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