#3A356B#3A356B

#3A356B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.3% C 0.091 H 285.1°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#3A356B
RGBrgb(58, 53, 107)
HSLhsl(246, 34%, 31%)
HSVhsv(246, 50%, 42%)
CMYKcmyk(45.8%, 50.5%, 0%, 58%)
CIE-LABlab(25.28, 17.44, -30.91)
CIE-LCHlch(25.28, 35.49, 299.44°)
OKLaboklab(36.28% 0.0237 -0.0876)
OKLCHoklch(36.28% 0.091 285.1)
XYZxyz(5.6711, 4.5071, 14.4782)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A356B #666B35
analogous
#354B6B #3A356B #55356B
triadic
#3A356B #6B3A35 #356B3A
tetradic
#3A356B #6B354B #666B35 #356B55
square
#3A356B #6B354B #666B35 #356B55
split-complementary
#3A356B #6B5535 #4B6B35
monochromatic
#0E0C19 #242142 #3A356B #504994 #6E67B4

Accessibility & contrast

On white

11.04
#3A356B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3A356B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A356B
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A356B#FFFFFF#000000##FFFFFF
##3A356B1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3E6D
Deuteranopia (green-blind)
#1E3A6A
Tritanopia (blue-blind)
#2B404B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a356b;
/* rgb */ color: rgb(58, 53, 107);
/* oklch */ color: oklch(36.3% 0.091 285.1);
Tailwind
colors: {
  custom: {
    50: '#736c96',
    500: '#3a356b',
    950: '#000000',
  },
}
SCSS
$custom: #3a356b;
$custom-light: #736c96;
$custom-dark: #000000;
JSON
{
  "hex": "#3a356b",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 107
  },
  "hsl": {
    "h": 245.556,
    "s": 33.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36281,
    "c": 0.09076,
    "h": 285.1
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

primary
#3A356B
secondary
#969C60
accent
#CA5EC0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #3A356B

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

Preview Lab → · Contrast checker → · Palette generator →

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