#3A3BC7#3A3BC7

#3A3BC7 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.2% C 0.210 H 273.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3A3BC7
RGBrgb(58, 59, 199)
HSLhsl(240, 56%, 50%)
HSVhsv(240, 71%, 78%)
CMYKcmyk(70.9%, 70.4%, 0%, 22%)
CIE-LABlab(34.29, 44.83, -72.45)
CIE-LCHlch(34.29, 85.20, 301.75°)
OKLaboklab(45.24% 0.0139 -0.2095)
OKLCHoklch(45.24% 0.21 273.8)
XYZxyz(13.6143, 8.1497, 54.8773)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BC7 #C7C63A
analogous
#3A82C7 #3A3BC7 #7F3AC7
triadic
#3A3BC7 #C73A3B #3BC73A
tetradic
#3A3BC7 #C73A82 #C7C63A #3AC77F
square
#3A3BC7 #C73A82 #C7C63A #3AC77F
split-complementary
#3A3BC7 #C77F3A #82C73A
monochromatic
#1E1E69 #2B2C98 #3A3BC7 #6A6AD5 #999AE2

Accessibility & contrast

On white

7.98
#3A3BC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3A3BC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BC7
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BC7#FFFFFF#000000##FFFFFF
##3A3BC71.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004AC4
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3bc7;
/* rgb */ color: rgb(58, 59, 199);
/* oklch */ color: oklch(45.2% 0.210 273.8);
Tailwind
colors: {
  custom: {
    50: '#8472d9',
    500: '#3a3bc7',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bc7;
$custom-light: #8472d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bc7",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 239.574,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45237,
    "c": 0.20995,
    "h": 273.8
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#3A3BC7
secondary
#CECD8F
accent
#DE49DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A3BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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