#3B3CA5#3B3CA5

#3B3CA5 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.165 H 276.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3B3CA5
RGBrgb(59, 60, 165)
HSLhsl(239, 47%, 44%)
HSVhsv(239, 64%, 65%)
CMYKcmyk(64.2%, 63.6%, 0%, 35.3%)
CIE-LABlab(31.53, 32.82, -56.84)
CIE-LCHlch(31.53, 65.63, 300.00°)
OKLaboklab(42.31% 0.0182 -0.1638)
OKLCHoklch(42.31% 0.165 276.3)
XYZxyz(10.2088, 6.8773, 36.3795)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3CA5 #A5A43B
analogous
#3B71A5 #3B3CA5 #6F3BA5
triadic
#3B3CA5 #A53B3C #3CA53B
tetradic
#3B3CA5 #A53B71 #A5A43B #3BA56F
square
#3B3CA5 #A53B71 #A5A43B #3BA56F
split-complementary
#3B3CA5 #A56F3B #71A53B
monochromatic
#1B1B4B #2B2C78 #3B3CA5 #595AC4 #8687D4

Accessibility & contrast

On white

8.84
#3B3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3B3CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3CA5
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3CA5#FFFFFF#000000##FFFFFF
##3B3CA51.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3b3ca5;
/* rgb */ color: rgb(59, 60, 165);
/* oklch */ color: oklch(42.3% 0.165 276.3);
Tailwind
colors: {
  custom: {
    50: '#7d72c1',
    500: '#3b3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ca5;
$custom-light: #7d72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ca5",
  "rgb": {
    "r": 59,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 239.434,
    "s": 47.321,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42313,
    "c": 0.16476,
    "h": 276.3
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#3B3CA5
secondary
#BEBD7E
accent
#D651D7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3B3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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