#3A3DB5#3A3DB5

#3A3DB5 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.185 H 274.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#3A3DB5
RGBrgb(58, 61, 181)
HSLhsl(239, 51%, 47%)
HSVhsv(239, 68%, 71%)
CMYKcmyk(68%, 66.3%, 0%, 29%)
CIE-LABlab(33.08, 37.56, -63.86)
CIE-LCHlch(33.08, 74.09, 300.46°)
OKLaboklab(43.85% 0.0148 -0.1844)
OKLCHoklch(43.85% 0.185 274.6)
XYZxyz(11.7514, 7.5722, 44.5494)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DB5 #B5B23A
analogous
#3A7AB5 #3A3DB5 #753AB5
triadic
#3A3DB5 #B53A3D #3DB53A
tetradic
#3A3DB5 #B53A7A #B5B23A #3AB575
square
#3A3DB5 #B53A7A #B5B23A #3AB575
split-complementary
#3A3DB5 #B5753A #7AB53A
monochromatic
#1C1E58 #2B2D87 #3A3DB5 #6063CC #8E90DB

Accessibility & contrast

On white

8.35
#3A3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3A3DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DB5
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DB5#FFFFFF#000000##FFFFFF
##3A3DB51.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a3db5;
/* rgb */ color: rgb(58, 61, 181);
/* oklch */ color: oklch(43.9% 0.185 274.6);
Tailwind
colors: {
  custom: {
    50: '#8073cc',
    500: '#3a3db5',
    950: '#000000',
  },
}
SCSS
$custom: #3a3db5;
$custom-light: #8073cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3db5",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 238.537,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43852,
    "c": 0.18498,
    "h": 274.6
  },
  "luminance": 0.07573
}

Semantic roles & 50–950 ramp

primary
#3A3DB5
secondary
#C6C485
accent
#D74DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3A3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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