#3B337C#3B337C

#3B337C is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.2% C 0.119 H 283.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3B337C
RGBrgb(59, 51, 124)
HSLhsl(247, 42%, 34%)
HSVhsv(247, 59%, 49%)
CMYKcmyk(52.4%, 58.9%, 0%, 51.4%)
CIE-LABlab(26.02, 24.66, -40.55)
CIE-LCHlch(26.02, 47.45, 301.30°)
OKLaboklab(37.23% 0.0288 -0.1159)
OKLCHoklch(37.23% 0.119 283.9)
XYZxyz(6.6245, 4.7524, 19.6331)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B337C #747C33
analogous
#33507C #3B337C #60337C
triadic
#3B337C #7C3B33 #337C3B
tetradic
#3B337C #7C3350 #747C33 #337C60
square
#3B337C #7C3350 #747C33 #337C60
split-complementary
#3B337C #7C6033 #507C33
monochromatic
#120F25 #262151 #3B337C #5045A7 #7268C1

Accessibility & contrast

On white

10.77
#3B337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3B337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B337C
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B337C#FFFFFF#000000##FFFFFF
##3B337C1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01407E
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#224452
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b337c;
/* rgb */ color: rgb(59, 51, 124);
/* oklch */ color: oklch(37.2% 0.119 283.9);
Tailwind
colors: {
  custom: {
    50: '#776ba2',
    500: '#3b337c',
    950: '#000000',
  },
}
SCSS
$custom: #3b337c;
$custom-light: #776ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b337c",
  "rgb": {
    "r": 59,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 246.575,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37232,
    "c": 0.11943,
    "h": 283.9
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

primary
#3B337C
secondary
#A1A962
accent
#D256C4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3B337C

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

Preview Lab → · Contrast checker → · Palette generator →

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