#3D348B#3D348B

#3D348B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.139 H 282.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3D348B
RGBrgb(61, 52, 139)
HSLhsl(246, 46%, 37%)
HSVhsv(246, 63%, 55%)
CMYKcmyk(56.1%, 62.6%, 0%, 45.5%)
CIE-LABlab(27.61, 29.43, -47.34)
CIE-LCHlch(27.61, 55.75, 301.87°)
OKLaboklab(38.81% 0.03 -0.1358)
OKLCHoklch(38.81% 0.139 282.4)
XYZxyz(7.8112, 5.3117, 25.0347)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D348B #828B34
analogous
#34568B #3D348B #69348B
triadic
#3D348B #8B3D34 #348B3D
tetradic
#3D348B #8B3456 #828B34 #348B69
square
#3D348B #8B3456 #828B34 #348B69
split-complementary
#3D348B #8B6934 #568B34
monochromatic
#161332 #29235E #3D348B #5145B8 #7970C9

Accessibility & contrast

On white

10.18
#3D348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3D348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D348B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D348B#FFFFFF#000000##FFFFFF
##3D348B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#19495A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d348b;
/* rgb */ color: rgb(61, 52, 139);
/* oklch */ color: oklch(38.8% 0.139 282.4);
Tailwind
colors: {
  custom: {
    50: '#7a6cae',
    500: '#3d348b',
    950: '#000000',
  },
}
SCSS
$custom: #3d348b;
$custom-light: #7a6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#3d348b",
  "rgb": {
    "r": 61,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 246.207,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38812,
    "c": 0.13911,
    "h": 282.4
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#3D348B
secondary
#AAB269
accent
#D553C8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3D348B

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

Preview Lab → · Contrast checker → · Palette generator →

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