#3B3EAA#3B3EAA

#3B3EAA is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.169 H 275.5°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#3B3EAA
RGBrgb(59, 62, 170)
HSLhsl(238, 48%, 45%)
HSVhsv(238, 65%, 67%)
CMYKcmyk(65.3%, 63.5%, 0%, 33.3%)
CIE-LABlab(32.43, 33.28, -58.37)
CIE-LCHlch(32.43, 67.19, 299.69°)
OKLaboklab(43.1% 0.0161 -0.1682)
OKLCHoklch(43.1% 0.169 275.5)
XYZxyz(10.7796, 7.2764, 38.8588)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3EAA #AAA73B
analogous
#3B76AA #3B3EAA #6F3BAA
triadic
#3B3EAA #AA3B3E #3EAA3B
tetradic
#3B3EAA #AA3B76 #AAA73B #3BAA6F
square
#3B3EAA #AA3B76 #AAA73B #3BAA6F
split-complementary
#3B3EAA #AA6F3B #76AA3B
monochromatic
#1B1D4F #2B2D7D #3B3EAA #5C5FC6 #898BD6

Accessibility & contrast

On white

8.55
#3B3EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3B3EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3EAA
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3EAA#FFFFFF#000000##FFFFFF
##3B3EAA1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3b3eaa;
/* rgb */ color: rgb(59, 62, 170);
/* oklch */ color: oklch(43.1% 0.169 275.5);
Tailwind
colors: {
  custom: {
    50: '#7e73c4',
    500: '#3b3eaa',
    950: '#000000',
  },
}
SCSS
$custom: #3b3eaa;
$custom-light: #7e73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3eaa",
  "rgb": {
    "r": 59,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 238.378,
    "s": 48.472,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43104,
    "c": 0.169,
    "h": 275.5
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#3B3EAA
secondary
#C0BF80
accent
#D450D8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3B3EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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