#3D3BC9#3D3BC9

#3D3BC9 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.6% C 0.212 H 274.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3D3BC9
RGBrgb(61, 59, 201)
HSLhsl(241, 57%, 51%)
HSVhsv(241, 71%, 79%)
CMYKcmyk(69.7%, 70.6%, 0%, 21.2%)
CIE-LABlab(34.67, 45.82, -72.99)
CIE-LCHlch(34.67, 86.17, 302.12°)
OKLaboklab(45.62% 0.0172 -0.211)
OKLCHoklch(45.62% 0.212 274.7)
XYZxyz(14.0276, 8.3357, 56.1167)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3BC9 #C7C93B
analogous
#3B80C9 #3D3BC9 #843BC9
triadic
#3D3BC9 #C93D3B #3BC93D
tetradic
#3D3BC9 #C93B80 #C7C93B #3BC984
square
#3D3BC9 #C93B80 #C7C93B #3BC984
split-complementary
#3D3BC9 #C9843B #80C93B
monochromatic
#1F1E6C #2D2B9C #3D3BC9 #6C6BD6 #9C9BE3

Accessibility & contrast

On white

7.87
#3D3BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3D3BC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3BC9
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3BC9#FFFFFF#000000##FFFFFF
##3D3BC91.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#004BC6
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d3bc9;
/* rgb */ color: rgb(61, 59, 201);
/* oklch */ color: oklch(45.6% 0.212 274.7);
Tailwind
colors: {
  custom: {
    50: '#8672db',
    500: '#3d3bc9',
    950: '#000000',
  },
}
SCSS
$custom: #3d3bc9;
$custom-light: #8672db;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3bc9",
  "rgb": {
    "r": 61,
    "g": 59,
    "b": 201
  },
  "hsl": {
    "h": 240.845,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45616,
    "c": 0.21168,
    "h": 274.7
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#3D3BC9
secondary
#CECF90
accent
#E048DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3D3BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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