#3B3DA5#3B3DA5

#3B3DA5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.164 H 276.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3B3DA5
RGBrgb(59, 61, 165)
HSLhsl(239, 47%, 44%)
HSVhsv(239, 64%, 65%)
CMYKcmyk(64.2%, 63%, 0%, 35.3%)
CIE-LABlab(31.77, 32.19, -56.44)
CIE-LCHlch(31.77, 64.98, 299.69°)
OKLaboklab(42.49% 0.0173 -0.1626)
OKLCHoklch(42.49% 0.164 276.1)
XYZxyz(10.2617, 6.9831, 36.3971)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3DA5 #A5A33B
analogous
#3B72A5 #3B3DA5 #6E3BA5
triadic
#3B3DA5 #A53B3D #3DA53B
tetradic
#3B3DA5 #A53B72 #A5A33B #3BA56E
square
#3B3DA5 #A53B72 #A5A33B #3BA56E
split-complementary
#3B3DA5 #A56E3B #72A53B
monochromatic
#1B1C4B #2B2C78 #3B3DA5 #595BC4 #8688D4

Accessibility & contrast

On white

8.76
#3B3DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3B3DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3DA5
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3DA5#FFFFFF#000000##FFFFFF
##3B3DA51.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b3da5;
/* rgb */ color: rgb(59, 61, 165);
/* oklch */ color: oklch(42.5% 0.164 276.1);
Tailwind
colors: {
  custom: {
    50: '#7d72c1',
    500: '#3b3da5',
    950: '#000000',
  },
}
SCSS
$custom: #3b3da5;
$custom-light: #7d72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3da5",
  "rgb": {
    "r": 59,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 238.868,
    "s": 47.321,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4249,
    "c": 0.16351,
    "h": 276.1
  },
  "luminance": 0.06984
}

Semantic roles & 50–950 ramp

primary
#3B3DA5
secondary
#BEBD7E
accent
#D451D7
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3B3DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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