#3A3BC1#3A3BC1

#3A3BC1 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.7% C 0.203 H 274.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#3A3BC1
RGBrgb(58, 59, 193)
HSLhsl(240, 54%, 49%)
HSVhsv(240, 70%, 76%)
CMYKcmyk(69.9%, 69.4%, 0%, 24.3%)
CIE-LABlab(33.72, 42.83, -69.87)
CIE-LCHlch(33.72, 81.96, 301.51°)
OKLaboklab(44.66% 0.0148 -0.202)
OKLCHoklch(44.66% 0.203 274.2)
XYZxyz(12.9313, 7.8765, 51.2806)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BC1 #C1C03A
analogous
#3A7EC1 #3A3BC1 #7D3AC1
triadic
#3A3BC1 #C13A3B #3BC13A
tetradic
#3A3BC1 #C13A7E #C1C03A #3AC17D
square
#3A3BC1 #C13A7E #C1C03A #3AC17D
split-complementary
#3A3BC1 #C17D3A #7EC13A
monochromatic
#1E1E63 #2C2D92 #3A3BC1 #6768D1 #9697DF

Accessibility & contrast

On white

8.15
#3A3BC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3BC1
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BC1#FFFFFF#000000##FFFFFF
##3A3BC11.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C5
Deuteranopia (green-blind)
#0049BF
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a3bc1;
/* rgb */ color: rgb(58, 59, 193);
/* oklch */ color: oklch(44.7% 0.203 274.2);
Tailwind
colors: {
  custom: {
    50: '#8372d5',
    500: '#3a3bc1',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bc1;
$custom-light: #8372d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bc1",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 239.556,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44656,
    "c": 0.20251,
    "h": 274.2
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#3A3BC1
secondary
#CBCA8C
accent
#DC4BDD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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