#3A3DBB#3A3DBB

#3A3DBB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.4% C 0.193 H 274.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3A3DBB
RGBrgb(58, 61, 187)
HSLhsl(239, 53%, 48%)
HSVhsv(239, 69%, 73%)
CMYKcmyk(69%, 67.4%, 0%, 26.7%)
CIE-LABlab(33.61, 39.61, -66.53)
CIE-LCHlch(33.61, 77.43, 300.77°)
OKLaboklab(44.41% 0.0142 -0.1922)
OKLCHoklch(44.41% 0.193 274.2)
XYZxyz(12.3803, 7.8237, 47.8618)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DBB #BBB83A
analogous
#3A7DBB #3A3DBB #783ABB
triadic
#3A3DBB #BB3A3D #3DBB3A
tetradic
#3A3DBB #BB3A7D #BBB83A #3ABB78
square
#3A3DBB #BB3A7D #BBB83A #3ABB78
split-complementary
#3A3DBB #BB783A #7DBB3A
monochromatic
#1D1F5E #2C2E8C #3A3DBB #6366CF #9294DD

Accessibility & contrast

On white

8.19
#3A3DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3A3DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DBB
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DBB#FFFFFF#000000##FFFFFF
##3A3DBB1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a3dbb;
/* rgb */ color: rgb(58, 61, 187);
/* oklch */ color: oklch(44.4% 0.193 274.2);
Tailwind
colors: {
  custom: {
    50: '#8173d1',
    500: '#3a3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dbb;
$custom-light: #8173d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dbb",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 238.605,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44407,
    "c": 0.19271,
    "h": 274.2
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#3A3DBB
secondary
#C8C788
accent
#D94CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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