#3A3DB7#3A3DB7

#3A3DB7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.188 H 274.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#3A3DB7
RGBrgb(58, 61, 183)
HSLhsl(239, 52%, 47%)
HSVhsv(239, 68%, 72%)
CMYKcmyk(68.3%, 66.7%, 0%, 28.2%)
CIE-LABlab(33.25, 38.24, -64.76)
CIE-LCHlch(33.25, 75.20, 300.56°)
OKLaboklab(44.04% 0.0146 -0.187)
OKLCHoklch(44.04% 0.188 274.5)
XYZxyz(11.9581, 7.6548, 45.6379)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DB7 #B7B43A
analogous
#3A7CB7 #3A3DB7 #763AB7
triadic
#3A3DB7 #B73A3D #3DB73A
tetradic
#3A3DB7 #B73A7C #B7B43A #3AB776
square
#3A3DB7 #B73A7C #B7B43A #3AB776
split-complementary
#3A3DB7 #B7763A #7CB73A
monochromatic
#1D1E5A #2B2E89 #3A3DB7 #6164CD #9092DC

Accessibility & contrast

On white

8.30
#3A3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3A3DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DB7
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DB7#FFFFFF#000000##FFFFFF
##3A3DB71.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a3db7;
/* rgb */ color: rgb(58, 61, 183);
/* oklch */ color: oklch(44.0% 0.188 274.5);
Tailwind
colors: {
  custom: {
    50: '#8173ce',
    500: '#3a3db7',
    950: '#000000',
  },
}
SCSS
$custom: #3a3db7;
$custom-light: #8173ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3db7",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 238.56,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44036,
    "c": 0.18756,
    "h": 274.5
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#3A3DB7
secondary
#C7C586
accent
#D84CDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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