#3A397D#3A397D

#3A397D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.4% C 0.112 H 280.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#3A397D
RGBrgb(58, 57, 125)
HSLhsl(241, 37%, 36%)
HSVhsv(241, 54%, 49%)
CMYKcmyk(53.6%, 54.4%, 0%, 51%)
CIE-LABlab(27.59, 20.78, -38.65)
CIE-LCHlch(27.59, 43.88, 298.27°)
OKLaboklab(38.4% 0.0202 -0.1103)
OKLCHoklch(38.4% 0.112 280.4)
XYZxyz(6.9086, 5.3061, 20.0582)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A397D #7C7D39
analogous
#395A7D #3A397D #5C397D
triadic
#3A397D #7D3A39 #397D3A
tetradic
#3A397D #7D395A #7C7D39 #397D5C
square
#3A397D #7D395A #7C7D39 #397D5C
split-complementary
#3A397D #7D5C39 #5A7D39
monochromatic
#131329 #262653 #3A397D #4E4CA7 #7372BF

Accessibility & contrast

On white

10.19
#3A397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3A397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A397D
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A397D#FFFFFF#000000##FFFFFF
##3A397D1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15447F
Deuteranopia (green-blind)
#0D3F7C
Tritanopia (blue-blind)
#1E4855
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a397d;
/* rgb */ color: rgb(58, 57, 125);
/* oklch */ color: oklch(38.4% 0.112 280.4);
Tailwind
colors: {
  custom: {
    50: '#766fa3',
    500: '#3a397d',
    950: '#000000',
  },
}
SCSS
$custom: #3a397d;
$custom-light: #766fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a397d",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 240.882,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38404,
    "c": 0.11216,
    "h": 280.4
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#3A397D
secondary
#A7A86A
accent
#CD5ACC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3A397D

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

Preview Lab → · Contrast checker → · Palette generator →

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