#3D358D#3D358D

#3D358D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.141 H 281.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3D358D
RGBrgb(61, 53, 141)
HSLhsl(245, 45%, 38%)
HSVhsv(245, 62%, 55%)
CMYKcmyk(56.7%, 62.4%, 0%, 44.7%)
CIE-LABlab(28.01, 29.46, -47.92)
CIE-LCHlch(28.01, 56.26, 301.58°)
OKLaboklab(39.16% 0.0288 -0.1375)
OKLCHoklch(39.16% 0.141 281.8)
XYZxyz(8.0038, 5.4609, 25.8264)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D358D #858D35
analogous
#35598D #3D358D #69358D
triadic
#3D358D #8D3D35 #358D3D
tetradic
#3D358D #8D3559 #858D35 #358D69
square
#3D358D #8D3559 #858D35 #358D69
split-complementary
#3D358D #8D6935 #598D35
monochromatic
#171434 #2A2461 #3D358D #5046B9 #7A72CA

Accessibility & contrast

On white

10.04
#3D358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3D358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D358D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D358D#FFFFFF#000000##FFFFFF
##3D358D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#164A5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d358d;
/* rgb */ color: rgb(61, 53, 141);
/* oklch */ color: oklch(39.2% 0.141 281.8);
Tailwind
colors: {
  custom: {
    50: '#7a6caf',
    500: '#3d358d',
    950: '#000000',
  },
}
SCSS
$custom: #3d358d;
$custom-light: #7a6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d358d",
  "rgb": {
    "r": 61,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 245.455,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39159,
    "c": 0.14054,
    "h": 281.8
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#3D358D
secondary
#ACB26B
accent
#D553C9
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3D358D

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

Preview Lab → · Contrast checker → · Palette generator →

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