#3A3BC5#3A3BC5

#3A3BC5 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.0% C 0.207 H 273.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3A3BC5
RGBrgb(58, 59, 197)
HSLhsl(240, 55%, 50%)
HSVhsv(240, 71%, 77%)
CMYKcmyk(70.6%, 70.1%, 0%, 22.7%)
CIE-LABlab(34.10, 44.17, -71.60)
CIE-LCHlch(34.10, 84.12, 301.67°)
OKLaboklab(45.04% 0.0142 -0.207)
OKLCHoklch(45.04% 0.207 273.9)
XYZxyz(13.3836, 8.0574, 53.6624)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BC5 #C5C43A
analogous
#3A81C5 #3A3BC5 #7E3AC5
triadic
#3A3BC5 #C53A3B #3BC53A
tetradic
#3A3BC5 #C53A81 #C5C43A #3AC57E
square
#3A3BC5 #C53A81 #C5C43A #3AC57E
split-complementary
#3A3BC5 #C57E3A #81C53A
monochromatic
#1E1F66 #2C2D96 #3A3BC5 #696AD3 #9999E1

Accessibility & contrast

On white

8.04
#3A3BC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3A3BC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BC5
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BC5#FFFFFF#000000##FFFFFF
##3A3BC51.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#004AC2
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3bc5;
/* rgb */ color: rgb(58, 59, 197);
/* oklch */ color: oklch(45.0% 0.207 273.9);
Tailwind
colors: {
  custom: {
    50: '#8472d8',
    500: '#3a3bc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bc5;
$custom-light: #8472d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bc5",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 239.568,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.45042,
    "c": 0.20748,
    "h": 273.9
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#3A3BC5
secondary
#CDCC8E
accent
#DD4ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A3BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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