#3A3BC2#3A3BC2

#3A3BC2 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.8% C 0.204 H 274.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3A3BC2
RGBrgb(58, 59, 194)
HSLhsl(240, 54%, 49%)
HSVhsv(240, 70%, 76%)
CMYKcmyk(70.1%, 69.6%, 0%, 23.9%)
CIE-LABlab(33.82, 43.17, -70.31)
CIE-LCHlch(33.82, 82.50, 301.55°)
OKLaboklab(44.75% 0.0146 -0.2032)
OKLCHoklch(44.75% 0.204 274.1)
XYZxyz(13.0433, 7.9213, 51.8700)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BC2 #C2C13A
analogous
#3A7FC2 #3A3BC2 #7D3AC2
triadic
#3A3BC2 #C23A3B #3BC23A
tetradic
#3A3BC2 #C23A7F #C2C13A #3AC27D
square
#3A3BC2 #C23A7F #C2C13A #3AC27D
split-complementary
#3A3BC2 #C27D3A #7FC23A
monochromatic
#1E1E64 #2C2D93 #3A3BC2 #6768D2 #9797E0

Accessibility & contrast

On white

8.13
#3A3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3A3BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BC2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BC2#FFFFFF#000000##FFFFFF
##3A3BC21.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0049C0
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3bc2;
/* rgb */ color: rgb(58, 59, 194);
/* oklch */ color: oklch(44.8% 0.204 274.1);
Tailwind
colors: {
  custom: {
    50: '#8372d6',
    500: '#3a3bc2',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bc2;
$custom-light: #8372d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bc2",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 239.559,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44752,
    "c": 0.20376,
    "h": 274.1
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#3A3BC2
secondary
#CBCB8D
accent
#DC4ADD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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