#3A39BB#3A39BB

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

Color values

HEX#3A39BB
RGBrgb(58, 57, 187)
HSLhsl(240, 53%, 48%)
HSVhsv(240, 70%, 73%)
CMYKcmyk(69%, 69.5%, 0%, 26.7%)
CIE-LABlab(32.73, 42.01, -67.98)
CIE-LCHlch(32.73, 79.91, 301.71°)
OKLaboklab(43.77% 0.0169 -0.1964)
OKLCHoklch(43.77% 0.197 274.9)
XYZxyz(12.1747, 7.4125, 47.7932)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A39BB #BABB39
analogous
#3979BB #3A39BB #7B39BB
triadic
#3A39BB #BB3A39 #39BB3A
tetradic
#3A39BB #BB3979 #BABB39 #39BB7B
square
#3A39BB #BB3979 #BABB39 #39BB7B
split-complementary
#3A39BB #BB7B39 #79BB39
monochromatic
#1D1C5D #2B2B8C #3A39BB #6362CF #9291DD

Accessibility & contrast

On white

8.46
#3A39BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3A39BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A39BB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A39BB#FFFFFF#000000##FFFFFF
##3A39BB1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a39bb;
/* rgb */ color: rgb(58, 57, 187);
/* oklch */ color: oklch(43.8% 0.197 274.9);
Tailwind
colors: {
  custom: {
    50: '#8270d1',
    500: '#3a39bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a39bb;
$custom-light: #8270d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a39bb",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 240.462,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.19715,
    "h": 274.9
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#3A39BB
secondary
#C8C887
accent
#DD4BDC
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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