#3A3DA3#3A3DA3

#3A3DA3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.161 H 275.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3A3DA3
RGBrgb(58, 61, 163)
HSLhsl(238, 48%, 43%)
HSVhsv(238, 64%, 64%)
CMYKcmyk(64.4%, 62.6%, 0%, 36.1%)
CIE-LABlab(31.53, 31.33, -55.63)
CIE-LCHlch(31.53, 63.84, 299.39°)
OKLaboklab(42.25% 0.0162 -0.1602)
OKLCHoklch(42.25% 0.161 275.8)
XYZxyz(10.0224, 6.8805, 35.4431)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DA3 #A3A03A
analogous
#3A71A3 #3A3DA3 #6B3AA3
triadic
#3A3DA3 #A33A3D #3DA33A
tetradic
#3A3DA3 #A33A71 #A3A03A #3AA36B
square
#3A3DA3 #A33A71 #A3A03A #3AA36B
split-complementary
#3A3DA3 #A36B3A #71A33A
monochromatic
#1A1B49 #2A2C76 #3A3DA3 #575AC3 #8486D3

Accessibility & contrast

On white

8.84
#3A3DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3A3DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DA3
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DA3#FFFFFF#000000##FFFFFF
##3A3DA31.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a3da3;
/* rgb */ color: rgb(58, 61, 163);
/* oklch */ color: oklch(42.2% 0.161 275.8);
Tailwind
colors: {
  custom: {
    50: '#7c72bf',
    500: '#3a3da3',
    950: '#000000',
  },
}
SCSS
$custom: #3a3da3;
$custom-light: #7c72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3da3",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 163
  },
  "hsl": {
    "h": 238.286,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42248,
    "c": 0.16103,
    "h": 275.8
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#3A3DA3
secondary
#BDBB7C
accent
#D351D7
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3A3DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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