#3A3BA9#3A3BA9

#3A3BA9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.172 H 275.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3A3BA9
RGBrgb(58, 59, 169)
HSLhsl(239, 49%, 45%)
HSVhsv(239, 66%, 66%)
CMYKcmyk(65.7%, 65.1%, 0%, 33.7%)
CIE-LABlab(31.56, 34.68, -59.19)
CIE-LCHlch(31.56, 68.60, 300.36°)
OKLaboklab(42.42% 0.0175 -0.1707)
OKLCHoklch(42.42% 0.172 275.8)
XYZxyz(10.4680, 6.8912, 38.3069)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BA9 #A9A83A
analogous
#3A73A9 #3A3BA9 #703AA9
triadic
#3A3BA9 #A93A3B #3BA93A
tetradic
#3A3BA9 #A93A73 #A9A83A #3AA970
square
#3A3BA9 #A93A73 #A9A83A #3AA970
split-complementary
#3A3BA9 #A9703A #73A93A
monochromatic
#1B1B4E #2A2B7B #3A3BA9 #5A5BC6 #8788D6

Accessibility & contrast

On white

8.83
#3A3BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3A3BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BA9
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BA9#FFFFFF#000000##FFFFFF
##3A3BA91.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a3ba9;
/* rgb */ color: rgb(58, 59, 169);
/* oklch */ color: oklch(42.4% 0.172 275.8);
Tailwind
colors: {
  custom: {
    50: '#7e71c4',
    500: '#3a3ba9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ba9;
$custom-light: #7e71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ba9",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 169
  },
  "hsl": {
    "h": 239.459,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42423,
    "c": 0.17159,
    "h": 275.8
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#3A3BA9
secondary
#C0C07F
accent
#D74FD8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A3BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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