#3B337B#3B337B

#3B337B is a dark, moderate blue. Relative luminance 0.047; OKLCH L 37.2% C 0.118 H 284.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#3B337B
RGBrgb(59, 51, 123)
HSLhsl(247, 41%, 34%)
HSVhsv(247, 59%, 48%)
CMYKcmyk(52%, 58.5%, 0%, 51.8%)
CIE-LABlab(25.94, 24.32, -40.04)
CIE-LCHlch(25.94, 46.84, 301.28°)
OKLaboklab(37.15% 0.0288 -0.1144)
OKLCHoklch(37.15% 0.118 284.1)
XYZxyz(6.5615, 4.7272, 19.3017)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B337B #737B33
analogous
#334F7B #3B337B #5F337B
triadic
#3B337B #7B3B33 #337B3B
tetradic
#3B337B #7B334F #737B33 #337B5F
square
#3B337B #7B334F #737B33 #337B5F
split-complementary
#3B337B #7B5F33 #4F7B33
monochromatic
#110F24 #262150 #3B337B #5045A6 #7268C0

Accessibility & contrast

On white

10.79
#3B337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B337B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B337B#FFFFFF#000000##FFFFFF
##3B337B1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03407D
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#234351
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b337b;
/* rgb */ color: rgb(59, 51, 123);
/* oklch */ color: oklch(37.2% 0.118 284.1);
Tailwind
colors: {
  custom: {
    50: '#766ba2',
    500: '#3b337b',
    950: '#000000',
  },
}
SCSS
$custom: #3b337b;
$custom-light: #766ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b337b",
  "rgb": {
    "r": 59,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 246.667,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37153,
    "c": 0.11797,
    "h": 284.1
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

primary
#3B337B
secondary
#A0A862
accent
#D157C4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3B337B

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

Preview Lab → · Contrast checker → · Palette generator →

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