#3A3BB3#3A3BB3

#3A3BB3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.185 H 275.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#3A3BB3
RGBrgb(58, 59, 179)
HSLhsl(240, 51%, 46%)
HSVhsv(240, 68%, 70%)
CMYKcmyk(67.6%, 67%, 0%, 29.8%)
CIE-LABlab(32.44, 38.10, -63.72)
CIE-LCHlch(32.44, 74.24, 300.88°)
OKLaboklab(43.34% 0.0165 -0.184)
OKLCHoklch(43.34% 0.185 275.1)
XYZxyz(11.4429, 7.2811, 43.4414)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BB3 #B3B23A
analogous
#3A78B3 #3A3BB3 #763AB3
triadic
#3A3BB3 #B33A3B #3BB33A
tetradic
#3A3BB3 #B33A78 #B3B23A #3AB376
square
#3A3BB3 #B33A78 #B3B23A #3AB376
split-complementary
#3A3BB3 #B3763A #78B33A
monochromatic
#1C1D57 #2B2C85 #3A3BB3 #5F60CB #8D8EDA

Accessibility & contrast

On white

8.55
#3A3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3A3BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BB3
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BB3#FFFFFF#000000##FFFFFF
##3A3BB31.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a3bb3;
/* rgb */ color: rgb(58, 59, 179);
/* oklch */ color: oklch(43.3% 0.185 275.1);
Tailwind
colors: {
  custom: {
    50: '#8071cb',
    500: '#3a3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bb3;
$custom-light: #8071cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bb3",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 239.504,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43335,
    "c": 0.18471,
    "h": 275.1
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#3A3BB3
secondary
#C5C484
accent
#D94DDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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