#3A3DB3#3A3DB3

#3A3DB3 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.182 H 274.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3A3DB3
RGBrgb(58, 61, 179)
HSLhsl(239, 51%, 46%)
HSVhsv(239, 68%, 70%)
CMYKcmyk(67.6%, 65.9%, 0%, 29.8%)
CIE-LABlab(32.90, 36.87, -62.97)
CIE-LCHlch(32.90, 72.97, 300.35°)
OKLaboklab(43.67% 0.015 -0.1817)
OKLCHoklch(43.67% 0.182 274.7)
XYZxyz(11.5477, 7.4907, 43.4764)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DB3 #B3B03A
analogous
#3A7AB3 #3A3DB3 #743AB3
triadic
#3A3DB3 #B33A3D #3DB33A
tetradic
#3A3DB3 #B33A7A #B3B03A #3AB374
square
#3A3DB3 #B33A7A #B3B03A #3AB374
split-complementary
#3A3DB3 #B3743A #7AB33A
monochromatic
#1C1D57 #2B2D85 #3A3DB3 #5F62CB #8D8FDA

Accessibility & contrast

On white

8.41
#3A3DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A3DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DB3
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DB3#FFFFFF#000000##FFFFFF
##3A3DB31.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a3db3;
/* rgb */ color: rgb(58, 61, 179);
/* oklch */ color: oklch(43.7% 0.182 274.7);
Tailwind
colors: {
  custom: {
    50: '#8073cb',
    500: '#3a3db3',
    950: '#000000',
  },
}
SCSS
$custom: #3a3db3;
$custom-light: #8073cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3db3",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 238.512,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.18237,
    "h": 274.7
  },
  "luminance": 0.07492
}

Semantic roles & 50–950 ramp

primary
#3A3DB3
secondary
#C5C384
accent
#D74DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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