#3D348A#3D348A

#3D348A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.138 H 282.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#3D348A
RGBrgb(61, 52, 138)
HSLhsl(246, 45%, 37%)
HSVhsv(246, 62%, 54%)
CMYKcmyk(55.8%, 62.3%, 0%, 45.9%)
CIE-LABlab(27.53, 29.10, -46.85)
CIE-LCHlch(27.53, 55.15, 301.84°)
OKLaboklab(38.73% 0.03 -0.1344)
OKLCHoklch(38.73% 0.138 282.6)
XYZxyz(7.7385, 5.2826, 24.6517)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D348A #818A34
analogous
#34568A #3D348A #68348A
triadic
#3D348A #8A3D34 #348A3D
tetradic
#3D348A #8A3456 #818A34 #348A68
square
#3D348A #8A3456 #818A34 #348A68
split-complementary
#3D348A #8A6834 #568A34
monochromatic
#161331 #29235E #3D348A #5145B6 #796FC9

Accessibility & contrast

On white

10.21
#3D348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D348A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D348A#FFFFFF#000000##FFFFFF
##3D348A1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#1A495A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d348a;
/* rgb */ color: rgb(61, 52, 138);
/* oklch */ color: oklch(38.7% 0.138 282.6);
Tailwind
colors: {
  custom: {
    50: '#7a6cad',
    500: '#3d348a',
    950: '#000000',
  },
}
SCSS
$custom: #3d348a;
$custom-light: #7a6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#3d348a",
  "rgb": {
    "r": 61,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 246.279,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38729,
    "c": 0.13771,
    "h": 282.6
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#3D348A
secondary
#A9B169
accent
#D553C7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3D348A

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

Preview Lab → · Contrast checker → · Palette generator →

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