#3A3AB9#3A3AB9

#3A3AB9 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.7% C 0.194 H 274.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3A3AB9
RGBrgb(58, 58, 185)
HSLhsl(240, 52%, 48%)
HSVhsv(240, 69%, 73%)
CMYKcmyk(68.6%, 68.6%, 0%, 27.5%)
CIE-LABlab(32.76, 40.74, -66.75)
CIE-LCHlch(32.76, 78.20, 301.40°)
OKLaboklab(43.74% 0.0165 -0.1928)
OKLCHoklch(43.74% 0.194 274.9)
XYZxyz(12.0120, 7.4273, 46.6901)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3AB9 #B9B93A
analogous
#3A79B9 #3A3AB9 #793AB9
triadic
#3A3AB9 #B93A3A #3AB93A
tetradic
#3A3AB9 #B93A79 #B9B93A #3AB979
square
#3A3AB9 #B93A79 #B9B93A #3AB979
split-complementary
#3A3AB9 #B9793A #79B93A
monochromatic
#1D1D5C #2B2B8A #3A3AB9 #6262CE #9191DC

Accessibility & contrast

On white

8.45
#3A3AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3A3AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3AB9
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3AB9#FFFFFF#000000##FFFFFF
##3A3AB91.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a3ab9;
/* rgb */ color: rgb(58, 58, 185);
/* oklch */ color: oklch(43.7% 0.194 274.9);
Tailwind
colors: {
  custom: {
    50: '#8171cf',
    500: '#3a3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ab9;
$custom-light: #8171cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ab9",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 240,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43735,
    "c": 0.19352,
    "h": 274.9
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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