#3A366C#3A366C

#3A366C is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.6% C 0.091 H 284.3°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#3A366C
RGBrgb(58, 54, 108)
HSLhsl(244, 33%, 32%)
HSVhsv(244, 50%, 42%)
CMYKcmyk(46.3%, 50%, 0%, 57.6%)
CIE-LABlab(25.62, 17.09, -31.00)
CIE-LCHlch(25.62, 35.40, 298.87°)
OKLaboklab(36.56% 0.0224 -0.0879)
OKLCHoklch(36.56% 0.091 284.3)
XYZxyz(5.7701, 4.6203, 14.7722)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A366C #686C36
analogous
#364D6C #3A366C #55366C
triadic
#3A366C #6C3A36 #366C3A
tetradic
#3A366C #6C364D #686C36 #366C55
square
#3A366C #6C364D #686C36 #366C55
split-complementary
#3A366C #6C5536 #4D6C36
monochromatic
#0E0D1A #242243 #3A366C #504A95 #6E69B4

Accessibility & contrast

On white

10.91
#3A366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A366C
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A366C#FFFFFF#000000##FFFFFF
##3A366C1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6E
Deuteranopia (green-blind)
#1E3B6B
Tritanopia (blue-blind)
#2A414B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a366c;
/* rgb */ color: rgb(58, 54, 108);
/* oklch */ color: oklch(36.6% 0.091 284.3);
Tailwind
colors: {
  custom: {
    50: '#736d96',
    500: '#3a366c',
    950: '#000000',
  },
}
SCSS
$custom: #3a366c;
$custom-light: #736d96;
$custom-dark: #000000;
JSON
{
  "hex": "#3a366c",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 244.444,
    "s": 33.333,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36561,
    "c": 0.09071,
    "h": 284.3
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#3A366C
secondary
#989D61
accent
#C95EC2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #3A366C

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

Preview Lab → · Contrast checker → · Palette generator →

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