#3A366D#3A366D

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

Color values

HEX#3A366D
RGBrgb(58, 54, 109)
HSLhsl(244, 34%, 32%)
HSVhsv(244, 50%, 43%)
CMYKcmyk(46.8%, 50.5%, 0%, 57.3%)
CIE-LABlab(25.69, 17.42, -31.54)
CIE-LCHlch(25.69, 36.03, 298.92°)
OKLaboklab(36.63% 0.0226 -0.0895)
OKLCHoklch(36.63% 0.092 284.2)
XYZxyz(5.8236, 4.6418, 15.0541)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A366D #696D36
analogous
#364E6D #3A366D #56366D
triadic
#3A366D #6D3A36 #366D3A
tetradic
#3A366D #6D364E #696D36 #366D56
square
#3A366D #6D364E #696D36 #366D56
split-complementary
#3A366D #6D5636 #4E6D36
monochromatic
#0E0D1B #242244 #3A366D #504A96 #6E69B5

Accessibility & contrast

On white

10.89
#3A366D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3A366D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A366D
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A366D#FFFFFF#000000##FFFFFF
##3A366D1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F6F
Deuteranopia (green-blind)
#1D3B6C
Tritanopia (blue-blind)
#2A414C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a366d;
/* rgb */ color: rgb(58, 54, 109);
/* oklch */ color: oklch(36.6% 0.092 284.2);
Tailwind
colors: {
  custom: {
    50: '#746d97',
    500: '#3a366d',
    950: '#000000',
  },
}
SCSS
$custom: #3a366d;
$custom-light: #746d97;
$custom-dark: #000000;
JSON
{
  "hex": "#3a366d",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 109
  },
  "hsl": {
    "h": 244.364,
    "s": 33.742,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3663,
    "c": 0.09227,
    "h": 284.2
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#3A366D
secondary
#999D61
accent
#CA5EC2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #3A366D

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

Preview Lab → · Contrast checker → · Palette generator →

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