#3D348E#3D348E

#3D348E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.143 H 282.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3D348E
RGBrgb(61, 52, 142)
HSLhsl(246, 46%, 38%)
HSVhsv(246, 63%, 56%)
CMYKcmyk(57%, 63.4%, 0%, 44.3%)
CIE-LABlab(27.85, 30.43, -48.81)
CIE-LCHlch(27.85, 57.52, 301.94°)
OKLaboklab(39.07% 0.0298 -0.1401)
OKLCHoklch(39.07% 0.143 282)
XYZxyz(8.0334, 5.4006, 26.2050)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D348E #858E34
analogous
#34588E #3D348E #6A348E
triadic
#3D348E #8E3D34 #348E3D
tetradic
#3D348E #8E3458 #858E34 #348E6A
square
#3D348E #8E3458 #858E34 #348E6A
split-complementary
#3D348E #8E6A34 #588E34
monochromatic
#171334 #2A2461 #3D348E #5044BB #7A71CB

Accessibility & contrast

On white

10.10
#3D348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3D348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D348E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D348E#FFFFFF#000000##FFFFFF
##3D348E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#154A5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d348e;
/* rgb */ color: rgb(61, 52, 142);
/* oklch */ color: oklch(39.1% 0.143 282.0);
Tailwind
colors: {
  custom: {
    50: '#7b6cb0',
    500: '#3d348e',
    950: '#000000',
  },
}
SCSS
$custom: #3d348e;
$custom-light: #7b6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d348e",
  "rgb": {
    "r": 61,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 246,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39065,
    "c": 0.14327,
    "h": 282
  },
  "luminance": 0.05401
}

Semantic roles & 50–950 ramp

primary
#3D348E
secondary
#ACB36A
accent
#D652C9
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3D348E

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

Preview Lab → · Contrast checker → · Palette generator →

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