#3B3BA2#3B3BA2

#3B3BA2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.162 H 276.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#3B3BA2
RGBrgb(59, 59, 162)
HSLhsl(240, 47%, 43%)
HSVhsv(240, 64%, 64%)
CMYKcmyk(63.6%, 63.6%, 0%, 36.5%)
CIE-LABlab(31.03, 32.42, -55.84)
CIE-LCHlch(31.03, 64.57, 300.14°)
OKLaboklab(41.87% 0.0192 -0.1608)
OKLCHoklch(41.87% 0.162 276.8)
XYZxyz(9.8871, 6.6656, 34.9410)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3BA2 #A2A23B
analogous
#3B6EA2 #3B3BA2 #6E3BA2
triadic
#3B3BA2 #A23B3B #3BA23B
tetradic
#3B3BA2 #A23B6E #A2A23B #3BA26E
square
#3B3BA2 #A23B6E #A2A23B #3BA26E
split-complementary
#3B3BA2 #A26E3B #6EA23B
monochromatic
#1A1A48 #2B2B75 #3B3BA2 #5858C2 #8585D3

Accessibility & contrast

On white

9.00
#3B3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3B3BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3BA2
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3BA2#FFFFFF#000000##FFFFFF
##3B3BA21.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3b3ba2;
/* rgb */ color: rgb(59, 59, 162);
/* oklch */ color: oklch(41.9% 0.162 276.8);
Tailwind
colors: {
  custom: {
    50: '#7d71be',
    500: '#3b3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ba2;
$custom-light: #7d71be;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ba2",
  "rgb": {
    "r": 59,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41874,
    "c": 0.16196,
    "h": 276.8
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#3B3BA2
secondary
#BDBD7C
accent
#D652D6
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3B3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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