#3A3BC3#3A3BC3

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

Color values

HEX#3A3BC3
RGBrgb(58, 59, 195)
HSLhsl(240, 54%, 50%)
HSVhsv(240, 70%, 76%)
CMYKcmyk(70.3%, 69.7%, 0%, 23.5%)
CIE-LABlab(33.91, 43.50, -70.74)
CIE-LCHlch(33.91, 83.04, 301.59°)
OKLaboklab(44.85% 0.0145 -0.2045)
OKLCHoklch(44.85% 0.205 274.1)
XYZxyz(13.1559, 7.9663, 52.4635)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BC3 #C3C23A
analogous
#3A80C3 #3A3BC3 #7E3AC3
triadic
#3A3BC3 #C33A3B #3BC33A
tetradic
#3A3BC3 #C33A80 #C3C23A #3AC37E
square
#3A3BC3 #C33A80 #C3C23A #3AC37E
split-complementary
#3A3BC3 #C37E3A #80C33A
monochromatic
#1E1E65 #2C2D94 #3A3BC3 #6869D2 #9798E0

Accessibility & contrast

On white

8.10
#3A3BC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3A3BC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BC3
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BC3#FFFFFF#000000##FFFFFF
##3A3BC31.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3bc3;
/* rgb */ color: rgb(58, 59, 195);
/* oklch */ color: oklch(44.8% 0.205 274.1);
Tailwind
colors: {
  custom: {
    50: '#8372d6',
    500: '#3a3bc3',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bc3;
$custom-light: #8372d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bc3",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 239.562,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44849,
    "c": 0.205,
    "h": 274.1
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#3A3BC3
secondary
#CCCB8D
accent
#DC4ADE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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