#3A3BB9#3A3BB9

#3A3BB9 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.9% C 0.192 H 274.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#3A3BB9
RGBrgb(58, 59, 185)
HSLhsl(240, 52%, 48%)
HSVhsv(240, 69%, 73%)
CMYKcmyk(68.6%, 68.1%, 0%, 27.5%)
CIE-LABlab(32.98, 40.14, -66.38)
CIE-LCHlch(32.98, 77.58, 301.16°)
OKLaboklab(43.9% 0.0158 -0.1918)
OKLCHoklch(43.9% 0.192 274.7)
XYZxyz(12.0629, 7.5291, 46.7071)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BB9 #B9B83A
analogous
#3A7AB9 #3A3BB9 #793AB9
triadic
#3A3BB9 #B93A3B #3BB93A
tetradic
#3A3BB9 #B93A7A #B9B83A #3AB979
square
#3A3BB9 #B93A7A #B9B83A #3AB979
split-complementary
#3A3BB9 #B9793A #7AB93A
monochromatic
#1D1D5C #2B2C8A #3A3BB9 #6263CE #9192DC

Accessibility & contrast

On white

8.38
#3A3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3A3BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BB9
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BB9#FFFFFF#000000##FFFFFF
##3A3BB91.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a3bb9;
/* rgb */ color: rgb(58, 59, 185);
/* oklch */ color: oklch(43.9% 0.192 274.7);
Tailwind
colors: {
  custom: {
    50: '#8172cf',
    500: '#3a3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bb9;
$custom-light: #8172cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bb9",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 239.528,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43895,
    "c": 0.19241,
    "h": 274.7
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

primary
#3A3BB9
secondary
#C7C787
accent
#DB4CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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