#3A3DB9#3A3DB9

#3A3DB9 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.2% C 0.190 H 274.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#3A3DB9
RGBrgb(58, 61, 185)
HSLhsl(239, 52%, 48%)
HSVhsv(239, 69%, 73%)
CMYKcmyk(68.6%, 67%, 0%, 27.5%)
CIE-LABlab(33.43, 38.92, -65.64)
CIE-LCHlch(33.43, 76.32, 300.67°)
OKLaboklab(44.22% 0.0144 -0.1896)
OKLCHoklch(44.22% 0.19 274.4)
XYZxyz(12.1677, 7.7387, 46.7420)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DB9 #B9B63A
analogous
#3A7CB9 #3A3DB9 #773AB9
triadic
#3A3DB9 #B93A3D #3DB93A
tetradic
#3A3DB9 #B93A7C #B9B63A #3AB977
square
#3A3DB9 #B93A7C #B9B63A #3AB977
split-complementary
#3A3DB9 #B9773A #7CB93A
monochromatic
#1D1E5C #2B2E8A #3A3DB9 #6265CE #9193DC

Accessibility & contrast

On white

8.24
#3A3DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3A3DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DB9
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DB9#FFFFFF#000000##FFFFFF
##3A3DB91.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0049B7
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a3db9;
/* rgb */ color: rgb(58, 61, 185);
/* oklch */ color: oklch(44.2% 0.190 274.4);
Tailwind
colors: {
  custom: {
    50: '#8173cf',
    500: '#3a3db9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3db9;
$custom-light: #8173cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3db9",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 238.583,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44221,
    "c": 0.19014,
    "h": 274.4
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#3A3DB9
secondary
#C7C687
accent
#D84CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A3DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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