#3A378D#3A378D

#3A378D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.138 H 279.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#3A378D
RGBrgb(58, 55, 141)
HSLhsl(242, 44%, 38%)
HSVhsv(242, 61%, 55%)
CMYKcmyk(58.9%, 61%, 0%, 44.7%)
CIE-LABlab(28.26, 27.59, -47.53)
CIE-LCHlch(28.26, 54.96, 300.14°)
OKLaboklab(39.28% 0.0228 -0.1365)
OKLCHoklch(39.28% 0.138 279.5)
XYZxyz(7.9173, 5.5545, 25.8491)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A378D #8A8D37
analogous
#375F8D #3A378D #65378D
triadic
#3A378D #8D3A37 #378D3A
tetradic
#3A378D #8D375F #8A8D37 #378D65
square
#3A378D #8D375F #8A8D37 #378D65
split-complementary
#3A378D #8D6537 #5F8D37
monochromatic
#161535 #282661 #3A378D #4D49B8 #7875C9

Accessibility & contrast

On white

9.95
#3A378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3A378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A378D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A378D#FFFFFF#000000##FFFFFF
##3A378D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#084C5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a378d;
/* rgb */ color: rgb(58, 55, 141);
/* oklch */ color: oklch(39.3% 0.138 279.5);
Tailwind
colors: {
  custom: {
    50: '#796eaf',
    500: '#3a378d',
    950: '#000000',
  },
}
SCSS
$custom: #3a378d;
$custom-light: #796eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a378d",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 242.093,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.13835,
    "h": 279.5
  },
  "luminance": 0.05555
}

Semantic roles & 50–950 ramp

primary
#3A378D
secondary
#B0B26E
accent
#D454CF
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3A378D

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

Preview Lab → · Contrast checker → · Palette generator →

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