#3D3CB8#3D3CB8

#3D3CB8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.2% C 0.189 H 275.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#3D3CB8
RGBrgb(61, 60, 184)
HSLhsl(240, 51%, 48%)
HSVhsv(240, 67%, 72%)
CMYKcmyk(66.8%, 67.4%, 0%, 27.8%)
CIE-LABlab(33.31, 39.58, -65.24)
CIE-LCHlch(33.31, 76.31, 301.25°)
OKLaboklab(44.16% 0.0188 -0.1883)
OKLCHoklch(44.16% 0.189 275.7)
XYZxyz(12.1892, 7.6834, 46.1788)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3CB8 #B7B83C
analogous
#3C79B8 #3D3CB8 #7B3CB8
triadic
#3D3CB8 #B83D3C #3CB83D
tetradic
#3D3CB8 #B83C79 #B7B83C #3CB87B
square
#3D3CB8 #B83C79 #B7B83C #3CB87B
split-complementary
#3D3CB8 #B87B3C #79B83C
monochromatic
#1E1E5C #2E2D8A #3D3CB8 #6565CD #9393DC

Accessibility & contrast

On white

8.28
#3D3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3D3CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3CB8
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3CB8#FFFFFF#000000##FFFFFF
##3D3CB81.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3d3cb8;
/* rgb */ color: rgb(61, 60, 184);
/* oklch */ color: oklch(44.2% 0.189 275.7);
Tailwind
colors: {
  custom: {
    50: '#8272ce',
    500: '#3d3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #3d3cb8;
$custom-light: #8272ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3cb8",
  "rgb": {
    "r": 61,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 240.484,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4416,
    "c": 0.18927,
    "h": 275.7
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#3D3CB8
secondary
#C6C789
accent
#DA4DD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3D3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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