#3A3BB1#3A3BB1

#3A3BB1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.182 H 275.3°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3A3BB1
RGBrgb(58, 59, 177)
HSLhsl(239, 51%, 46%)
HSVhsv(239, 67%, 69%)
CMYKcmyk(67.2%, 66.7%, 0%, 30.6%)
CIE-LABlab(32.26, 37.42, -62.82)
CIE-LCHlch(32.26, 73.12, 300.78°)
OKLaboklab(43.15% 0.0167 -0.1813)
OKLCHoklch(43.15% 0.182 275.3)
XYZxyz(11.2421, 7.2008, 42.3839)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BB1 #B1B03A
analogous
#3A76B1 #3A3BB1 #743AB1
triadic
#3A3BB1 #B13A3B #3BB13A
tetradic
#3A3BB1 #B13A76 #B1B03A #3AB174
square
#3A3BB1 #B13A76 #B1B03A #3AB174
split-complementary
#3A3BB1 #B1743A #76B13A
monochromatic
#1C1C55 #2B2C83 #3A3BB1 #5E5FCA #8C8DD9

Accessibility & contrast

On white

8.61
#3A3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3A3BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BB1
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BB1#FFFFFF#000000##FFFFFF
##3A3BB11.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a3bb1;
/* rgb */ color: rgb(58, 59, 177);
/* oklch */ color: oklch(43.2% 0.182 275.3);
Tailwind
colors: {
  custom: {
    50: '#7f71c9',
    500: '#3a3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bb1;
$custom-light: #7f71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bb1",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 239.496,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43151,
    "c": 0.18211,
    "h": 275.3
  },
  "luminance": 0.07202
}

Semantic roles & 50–950 ramp

primary
#3A3BB1
secondary
#C4C383
accent
#D94EDA
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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