#3A366F#3A366F

#3A366F is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.8% C 0.095 H 283.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#3A366F
RGBrgb(58, 54, 111)
HSLhsl(244, 35%, 32%)
HSVhsv(244, 51%, 44%)
CMYKcmyk(47.7%, 51.4%, 0%, 56.5%)
CIE-LABlab(25.82, 18.08, -32.61)
CIE-LCHlch(25.82, 37.29, 299.01°)
OKLaboklab(36.77% 0.0228 -0.0926)
OKLCHoklch(36.77% 0.095 283.8)
XYZxyz(5.9325, 4.6853, 15.6276)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A366F #6B6F36
analogous
#364E6F #3A366F #57366F
triadic
#3A366F #6F3A36 #366F3A
tetradic
#3A366F #6F364E #6B6F36 #366F57
square
#3A366F #6F364E #6B6F36 #366F57
split-complementary
#3A366F #6F5736 #4E6F36
monochromatic
#0F0E1D #242246 #3A366F #504A98 #6F69B6

Accessibility & contrast

On white

10.84
#3A366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3A366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A366F
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A366F#FFFFFF#000000##FFFFFF
##3A366F1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F71
Deuteranopia (green-blind)
#1B3B6E
Tritanopia (blue-blind)
#29424D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a366f;
/* rgb */ color: rgb(58, 54, 111);
/* oklch */ color: oklch(36.8% 0.095 283.8);
Tailwind
colors: {
  custom: {
    50: '#746d99',
    500: '#3a366f',
    950: '#000000',
  },
}
SCSS
$custom: #3a366f;
$custom-light: #746d99;
$custom-dark: #000000;
JSON
{
  "hex": "#3a366f",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 244.211,
    "s": 34.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3677,
    "c": 0.09538,
    "h": 283.8
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#3A366F
secondary
#9B9F62
accent
#CB5DC3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #3A366F

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

Preview Lab → · Contrast checker → · Palette generator →

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