#3D337B#3D337B

#3D337B is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.3% C 0.118 H 285.5°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#3D337B
RGBrgb(61, 51, 123)
HSLhsl(248, 41%, 34%)
HSVhsv(248, 59%, 48%)
CMYKcmyk(50.4%, 58.5%, 0%, 51.8%)
CIE-LABlab(26.13, 24.78, -39.73)
CIE-LCHlch(26.13, 46.83, 301.96°)
OKLaboklab(37.33% 0.0315 -0.1134)
OKLCHoklch(37.33% 0.118 285.5)
XYZxyz(6.6824, 4.7895, 19.3074)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D337B #717B33
analogous
#334D7B #3D337B #61337B
triadic
#3D337B #7B3D33 #337B3D
tetradic
#3D337B #7B334D #717B33 #337B61
square
#3D337B #7B334D #717B33 #337B61
split-complementary
#3D337B #7B6133 #4D7B33
monochromatic
#120F24 #282150 #3D337B #5245A6 #7468C0

Accessibility & contrast

On white

10.73
#3D337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3D337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D337B
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D337B#FFFFFF#000000##FFFFFF
##3D337B1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05407D
Deuteranopia (green-blind)
#023C79
Tritanopia (blue-blind)
#274351
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d337b;
/* rgb */ color: rgb(61, 51, 123);
/* oklch */ color: oklch(37.3% 0.118 285.5);
Tailwind
colors: {
  custom: {
    50: '#786ba2',
    500: '#3d337b',
    950: '#000000',
  },
}
SCSS
$custom: #3d337b;
$custom-light: #786ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d337b",
  "rgb": {
    "r": 61,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 248.333,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37334,
    "c": 0.11774,
    "h": 285.5
  },
  "luminance": 0.0479
}

Semantic roles & 50–950 ramp

primary
#3D337B
secondary
#9EA862
accent
#D157C0
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3D337B

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

Preview Lab → · Contrast checker → · Palette generator →

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