#3D337E#3D337E

#3D337E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.122 H 285.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#3D337E
RGBrgb(61, 51, 126)
HSLhsl(248, 42%, 35%)
HSVhsv(248, 60%, 49%)
CMYKcmyk(51.6%, 59.5%, 0%, 50.6%)
CIE-LABlab(26.35, 25.77, -41.26)
CIE-LCHlch(26.35, 48.65, 301.99°)
OKLaboklab(37.57% 0.0315 -0.118)
OKLCHoklch(37.57% 0.122 285)
XYZxyz(6.8731, 4.8658, 20.3117)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D337E #747E33
analogous
#334F7E #3D337E #63337E
triadic
#3D337E #7E3D33 #337E3D
tetradic
#3D337E #7E334F #747E33 #337E63
square
#3D337E #7E334F #747E33 #337E63
split-complementary
#3D337E #7E6333 #4F7E33
monochromatic
#131027 #282152 #3D337E #5245AA #7569C2

Accessibility & contrast

On white

10.64
#3D337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3D337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D337E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D337E#FFFFFF#000000##FFFFFF
##3D337E1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#254453
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d337e;
/* rgb */ color: rgb(61, 51, 126);
/* oklch */ color: oklch(37.6% 0.122 285.0);
Tailwind
colors: {
  custom: {
    50: '#786ba4',
    500: '#3d337e',
    950: '#000000',
  },
}
SCSS
$custom: #3d337e;
$custom-light: #786ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d337e",
  "rgb": {
    "r": 61,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 248,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3757,
    "c": 0.1221,
    "h": 285
  },
  "luminance": 0.04866
}

Semantic roles & 50–950 ramp

primary
#3D337E
secondary
#A1AA63
accent
#D256C2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3D337E

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

Preview Lab → · Contrast checker → · Palette generator →

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