#3D338A#3D338A

#3D338A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.139 H 282.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#3D338A
RGBrgb(61, 51, 138)
HSLhsl(247, 46%, 37%)
HSVhsv(247, 63%, 54%)
CMYKcmyk(55.8%, 63%, 0%, 45.9%)
CIE-LABlab(27.28, 29.74, -47.25)
CIE-LCHlch(27.28, 55.83, 302.19°)
OKLaboklab(38.55% 0.0311 -0.1356)
OKLCHoklch(38.55% 0.139 282.9)
XYZxyz(7.6943, 5.1943, 24.6370)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D338A #808A33
analogous
#33548A #3D338A #69338A
triadic
#3D338A #8A3D33 #338A3D
tetradic
#3D338A #8A3354 #808A33 #338A69
square
#3D338A #8A3354 #808A33 #338A69
split-complementary
#3D338A #8A6933 #548A33
monochromatic
#151231 #29225D #3D338A #5144B7 #786EC9

Accessibility & contrast

On white

10.30
#3D338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3D338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D338A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D338A#FFFFFF#000000##FFFFFF
##3D338A1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#1A4859
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d338a;
/* rgb */ color: rgb(61, 51, 138);
/* oklch */ color: oklch(38.6% 0.139 282.9);
Tailwind
colors: {
  custom: {
    50: '#7a6bad',
    500: '#3d338a',
    950: '#000000',
  },
}
SCSS
$custom: #3d338a;
$custom-light: #7a6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#3d338a",
  "rgb": {
    "r": 61,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 246.897,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3855,
    "c": 0.13909,
    "h": 282.9
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#3D338A
secondary
#A9B167
accent
#D652C7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D338A

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

Preview Lab → · Contrast checker → · Palette generator →

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