#3A396D#3A396D

#3A396D is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.3% C 0.087 H 282.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3A396D
RGBrgb(58, 57, 109)
HSLhsl(241, 31%, 33%)
HSVhsv(241, 48%, 43%)
CMYKcmyk(46.8%, 47.7%, 0%, 57.3%)
CIE-LABlab(26.53, 15.39, -30.19)
CIE-LCHlch(26.53, 33.89, 297.01°)
OKLaboklab(37.27% 0.0184 -0.0855)
OKLCHoklch(37.27% 0.087 282.2)
XYZxyz(5.9676, 4.9297, 15.1021)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A396D #6C6D39
analogous
#39526D #3A396D #54396D
triadic
#3A396D #6D3A39 #396D3A
tetradic
#3A396D #6D3952 #6C6D39 #396D54
square
#3A396D #6D3952 #6C6D39 #396D54
split-complementary
#3A396D #6D5439 #526D39
monochromatic
#0F0F1D #252445 #3A396D #4F4E95 #6F6DB3

Accessibility & contrast

On white

10.57
#3A396D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A396D
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A396D#FFFFFF#000000##FFFFFF
##3A396D1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25416F
Deuteranopia (green-blind)
#223D6C
Tritanopia (blue-blind)
#29444D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a396d;
/* rgb */ color: rgb(58, 57, 109);
/* oklch */ color: oklch(37.3% 0.087 282.2);
Tailwind
colors: {
  custom: {
    50: '#736f97',
    500: '#3a396d',
    950: '#000000',
  },
}
SCSS
$custom: #3a396d;
$custom-light: #736f97;
$custom-dark: #000000;
JSON
{
  "hex": "#3a396d",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 241.154,
    "s": 31.325,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37268,
    "c": 0.08746,
    "h": 282.2
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#3A396D
secondary
#9B9D65
accent
#C860C6
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #3A396D

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

Preview Lab → · Contrast checker → · Palette generator →

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