#3A3DB2#3A3DB2

#3A3DB2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.181 H 274.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#3A3DB2
RGBrgb(58, 61, 178)
HSLhsl(239, 51%, 46%)
HSVhsv(239, 67%, 70%)
CMYKcmyk(67.4%, 65.7%, 0%, 30.2%)
CIE-LABlab(32.81, 36.53, -62.52)
CIE-LCHlch(32.81, 72.40, 300.30°)
OKLaboklab(43.58% 0.0151 -0.1804)
OKLCHoklch(43.58% 0.181 274.8)
XYZxyz(11.4469, 7.4504, 42.9457)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DB2 #B2AF3A
analogous
#3A79B2 #3A3DB2 #733AB2
triadic
#3A3DB2 #B23A3D #3DB23A
tetradic
#3A3DB2 #B23A79 #B2AF3A #3AB273
square
#3A3DB2 #B23A79 #B2AF3A #3AB273
split-complementary
#3A3DB2 #B2733A #79B23A
monochromatic
#1C1D56 #2B2D84 #3A3DB2 #5F61CB #8D8FDA

Accessibility & contrast

On white

8.43
#3A3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3A3DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DB2
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DB2#FFFFFF#000000##FFFFFF
##3A3DB21.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3db2;
/* rgb */ color: rgb(58, 61, 178);
/* oklch */ color: oklch(43.6% 0.181 274.8);
Tailwind
colors: {
  custom: {
    50: '#7f73ca',
    500: '#3a3db2',
    950: '#000000',
  },
}
SCSS
$custom: #3a3db2;
$custom-light: #7f73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3db2",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 238.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43579,
    "c": 0.18106,
    "h": 274.8
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#3A3DB2
secondary
#C4C383
accent
#D74DDA
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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