#3B409E#3B409E

#3B409E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.150 H 275.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#3B409E
RGBrgb(59, 64, 158)
HSLhsl(237, 46%, 43%)
HSVhsv(237, 63%, 62%)
CMYKcmyk(62.7%, 59.5%, 0%, 38%)
CIE-LABlab(31.95, 27.82, -51.92)
CIE-LCHlch(31.95, 58.90, 298.18°)
OKLaboklab(42.45% 0.0148 -0.1493)
OKLCHoklch(42.45% 0.15 275.7)
XYZxyz(9.8066, 7.0644, 33.1879)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B409E #9E993B
analogous
#3B719E #3B409E #683B9E
triadic
#3B409E #9E3B40 #409E3B
tetradic
#3B409E #9E3B71 #9E993B #3B9E68
square
#3B409E #9E3B71 #9E993B #3B9E68
split-complementary
#3B409E #9E683B #719E3B
monochromatic
#1A1C45 #2A2E71 #3B409E #565CC0 #8387D1

Accessibility & contrast

On white

8.70
#3B409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3B409E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B409E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B409E#FFFFFF#000000##FFFFFF
##3B409E1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3b409e;
/* rgb */ color: rgb(59, 64, 158);
/* oklch */ color: oklch(42.4% 0.150 275.7);
Tailwind
colors: {
  custom: {
    50: '#7c75bb',
    500: '#3b409e',
    950: '#000000',
  },
}
SCSS
$custom: #3b409e;
$custom-light: #7c75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b409e",
  "rgb": {
    "r": 59,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 236.97,
    "s": 45.622,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4245,
    "c": 0.15,
    "h": 275.7
  },
  "luminance": 0.07065
}

Semantic roles & 50–950 ramp

primary
#3B409E
secondary
#BBB77A
accent
#CF53D5
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3B409E

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

Preview Lab → · Contrast checker → · Palette generator →

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