#3A289C#3A289C

#3A289C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.177 H 281.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3A289C
RGBrgb(58, 40, 156)
HSLhsl(249, 59%, 38%)
HSVhsv(249, 74%, 61%)
CMYKcmyk(62.8%, 74.4%, 0%, 38.8%)
CIE-LABlab(26.21, 41.69, -60.10)
CIE-LCHlch(26.21, 73.15, 304.75°)
OKLaboklab(38.21% 0.034 -0.1733)
OKLCHoklch(38.21% 0.177 281.1)
XYZxyz(8.5026, 4.8168, 31.9277)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A289C #8A9C28
analogous
#28509C #3A289C #74289C
triadic
#3A289C #9C3A28 #289C3A
tetradic
#3A289C #9C2850 #8A9C28 #289C74
square
#3A289C #9C2850 #8A9C28 #289C74
split-complementary
#3A289C #9C7428 #509C28
monochromatic
#160F3B #281C6B #3A289C #4D36CB #7867D8

Accessibility & contrast

On white

10.70
#3A289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3A289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A289C
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A289C#FFFFFF#000000##FFFFFF
##3A289C1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a289c;
/* rgb */ color: rgb(58, 40, 156);
/* oklch */ color: oklch(38.2% 0.177 281.1);
Tailwind
colors: {
  custom: {
    50: '#7d64ba',
    500: '#3a289c',
    950: '#000000',
  },
}
SCSS
$custom: #3a289c;
$custom-light: #7d64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a289c",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 249.31,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38206,
    "c": 0.17664,
    "h": 281.1
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#3A289C
secondary
#B0BE62
accent
#E245CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A289C

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

Preview Lab → · Contrast checker → · Palette generator →

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