#3A396F#3A396F

#3A396F is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.091 H 281.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#3A396F
RGBrgb(58, 57, 111)
HSLhsl(241, 32%, 33%)
HSVhsv(241, 49%, 44%)
CMYKcmyk(47.7%, 48.6%, 0%, 56.5%)
CIE-LABlab(26.66, 16.06, -31.27)
CIE-LCHlch(26.66, 35.15, 297.18°)
OKLaboklab(37.4% 0.0187 -0.0887)
OKLCHoklch(37.4% 0.091 281.9)
XYZxyz(6.0764, 4.9732, 15.6756)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A396F #6E6F39
analogous
#39536F #3A396F #55396F
triadic
#3A396F #6F3A39 #396F3A
tetradic
#3A396F #6F3953 #6E6F39 #396F55
square
#3A396F #6F3953 #6E6F39 #396F55
split-complementary
#3A396F #6F5539 #536F39
monochromatic
#100F1E #252447 #3A396F #4F4E97 #6F6EB4

Accessibility & contrast

On white

10.53
#3A396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3A396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A396F
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A396F#FFFFFF#000000##FFFFFF
##3A396F1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234171
Deuteranopia (green-blind)
#203D6E
Tritanopia (blue-blind)
#28444E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a396f;
/* rgb */ color: rgb(58, 57, 111);
/* oklch */ color: oklch(37.4% 0.091 281.9);
Tailwind
colors: {
  custom: {
    50: '#746f99',
    500: '#3a396f',
    950: '#000000',
  },
}
SCSS
$custom: #3a396f;
$custom-light: #746f99;
$custom-dark: #000000;
JSON
{
  "hex": "#3a396f",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 241.111,
    "s": 32.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37403,
    "c": 0.09062,
    "h": 281.9
  },
  "luminance": 0.04973
}

Semantic roles & 50–950 ramp

primary
#3A396F
secondary
#9D9E66
accent
#C85FC6
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #3A396F

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

Preview Lab → · Contrast checker → · Palette generator →

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