#3A326A#3A326A

#3A326A is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.6% C 0.094 H 287.2°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#3A326A
RGBrgb(58, 50, 106)
HSLhsl(249, 36%, 31%)
HSVhsv(249, 53%, 42%)
CMYKcmyk(45.3%, 52.8%, 0%, 58.4%)
CIE-LABlab(24.39, 19.14, -31.69)
CIE-LCHlch(24.39, 37.02, 301.14°)
OKLaboklab(35.59% 0.0278 -0.0899)
OKLCHoklch(35.59% 0.094 287.2)
XYZxyz(5.4863, 4.2211, 14.1586)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A326A #626A32
analogous
#32466A #3A326A #56326A
triadic
#3A326A #6A3A32 #326A3A
tetradic
#3A326A #6A3246 #626A32 #326A56
square
#3A326A #6A3246 #626A32 #326A56
split-complementary
#3A326A #6A5632 #466A32
monochromatic
#0C0B17 #231E40 #3A326A #514694 #6E62B5

Accessibility & contrast

On white

11.39
#3A326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3A326A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A326A
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A326A#FFFFFF#000000##FFFFFF
##3A326A1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#1A3869
Tritanopia (blue-blind)
#2C3E49
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3a326a;
/* rgb */ color: rgb(58, 50, 106);
/* oklch */ color: oklch(35.6% 0.094 287.2);
Tailwind
colors: {
  custom: {
    50: '#736a95',
    500: '#3a326a',
    950: '#000000',
  },
}
SCSS
$custom: #3a326a;
$custom-light: #736a95;
$custom-dark: #000000;
JSON
{
  "hex": "#3a326a",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 248.571,
    "s": 35.897,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3559,
    "c": 0.09411,
    "h": 287.2
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#3A326A
secondary
#929B5D
accent
#CC5CBC
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08060D
muted
#7B7A7E

Preview Lab

Preview with #3A326A

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

Preview Lab → · Contrast checker → · Palette generator →

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