#3A366A#3A366A

#3A366A is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.088 H 284.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#3A366A
RGBrgb(58, 54, 106)
HSLhsl(245, 33%, 31%)
HSVhsv(245, 49%, 42%)
CMYKcmyk(45.3%, 49.1%, 0%, 58.4%)
CIE-LABlab(25.50, 16.44, -29.92)
CIE-LCHlch(25.50, 34.14, 298.79°)
OKLaboklab(36.42% 0.0222 -0.0847)
OKLCHoklch(36.42% 0.088 284.7)
XYZxyz(5.6649, 4.5783, 14.2181)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A366A #666A36
analogous
#364C6A #3A366A #54366A
triadic
#3A366A #6A3A36 #366A3A
tetradic
#3A366A #6A364C #666A36 #366A54
square
#3A366A #6A364C #666A36 #366A54
split-complementary
#3A366A #6A5436 #4C6A36
monochromatic
#0E0D19 #242141 #3A366A #504B93 #6E68B2

Accessibility & contrast

On white

10.96
#3A366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3A366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A366A
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A366A#FFFFFF#000000##FFFFFF
##3A366A1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6C
Deuteranopia (green-blind)
#203B69
Tritanopia (blue-blind)
#2B414B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a366a;
/* rgb */ color: rgb(58, 54, 106);
/* oklch */ color: oklch(36.4% 0.088 284.7);
Tailwind
colors: {
  custom: {
    50: '#736d95',
    500: '#3a366a',
    950: '#000000',
  },
}
SCSS
$custom: #3a366a;
$custom-light: #736d95;
$custom-dark: #000000;
JSON
{
  "hex": "#3a366a",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 244.615,
    "s": 32.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36424,
    "c": 0.08756,
    "h": 284.7
  },
  "luminance": 0.04578
}

Semantic roles & 50–950 ramp

primary
#3A366A
secondary
#969B61
accent
#C95FC1
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #3A366A

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

Preview Lab → · Contrast checker → · Palette generator →

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