#3D3EC5#3D3EC5

#3D3EC5 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.7% C 0.204 H 274.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3D3EC5
RGBrgb(61, 62, 197)
HSLhsl(240, 54%, 51%)
HSVhsv(240, 69%, 77%)
CMYKcmyk(69%, 68.5%, 0%, 22.7%)
CIE-LABlab(34.94, 42.74, -70.22)
CIE-LCHlch(34.94, 82.20, 301.33°)
OKLaboklab(45.69% 0.0159 -0.2029)
OKLCHoklch(45.69% 0.204 274.5)
XYZxyz(13.7218, 8.4673, 53.7237)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EC5 #C5C43D
analogous
#3D82C5 #3D3EC5 #803DC5
triadic
#3D3EC5 #C53D3E #3EC53D
tetradic
#3D3EC5 #C53D82 #C5C43D #3DC580
square
#3D3EC5 #C53D82 #C5C43D #3DC580
split-complementary
#3D3EC5 #C5803D #82C53D
monochromatic
#1F2068 #2D2E98 #3D3EC5 #6C6DD3 #9B9CE1

Accessibility & contrast

On white

7.80
#3D3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3D3EC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3EC5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EC5#FFFFFF#000000##FFFFFF
##3D3EC51.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d3ec5;
/* rgb */ color: rgb(61, 62, 197);
/* oklch */ color: oklch(45.7% 0.204 274.5);
Tailwind
colors: {
  custom: {
    50: '#8574d8',
    500: '#3d3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ec5;
$custom-light: #8574d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ec5",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 239.559,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45693,
    "c": 0.20351,
    "h": 274.5
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#3D3EC5
secondary
#CDCD91
accent
#DC4ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3D3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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