#3A3BB8#3A3BB8

#3A3BB8 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.8% C 0.191 H 274.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3A3BB8
RGBrgb(58, 59, 184)
HSLhsl(240, 52%, 47%)
HSVhsv(240, 68%, 72%)
CMYKcmyk(68.5%, 67.9%, 0%, 27.8%)
CIE-LABlab(32.89, 39.80, -65.94)
CIE-LCHlch(32.89, 77.02, 301.11°)
OKLaboklab(43.8% 0.0159 -0.1905)
OKLCHoklch(43.8% 0.191 274.8)
XYZxyz(11.9578, 7.4871, 46.1531)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BB8 #B8B73A
analogous
#3A7AB8 #3A3BB8 #783AB8
triadic
#3A3BB8 #B83A3B #3BB83A
tetradic
#3A3BB8 #B83A7A #B8B73A #3AB878
square
#3A3BB8 #B83A7A #B8B73A #3AB878
split-complementary
#3A3BB8 #B8783A #7AB83A
monochromatic
#1D1D5B #2B2C89 #3A3BB8 #6263CD #9091DC

Accessibility & contrast

On white

8.41
#3A3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A3BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BB8
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BB8#FFFFFF#000000##FFFFFF
##3A3BB81.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0048B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a3bb8;
/* rgb */ color: rgb(58, 59, 184);
/* oklch */ color: oklch(43.8% 0.191 274.8);
Tailwind
colors: {
  custom: {
    50: '#8172ce',
    500: '#3a3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bb8;
$custom-light: #8172ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bb8",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 239.524,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43801,
    "c": 0.19113,
    "h": 274.8
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#3A3BB8
secondary
#C7C687
accent
#DA4CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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