#3A289F#3A289F

#3A289F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.180 H 280.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3A289F
RGBrgb(58, 40, 159)
HSLhsl(249, 60%, 39%)
HSVhsv(249, 75%, 62%)
CMYKcmyk(63.5%, 74.8%, 0%, 37.6%)
CIE-LABlab(26.50, 42.64, -61.44)
CIE-LCHlch(26.50, 74.79, 304.76°)
OKLaboklab(38.51% 0.0333 -0.1773)
OKLCHoklch(38.51% 0.18 280.6)
XYZxyz(8.7597, 4.9197, 33.2821)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A289F #8D9F28
analogous
#28529F #3A289F #76289F
triadic
#3A289F #9F3A28 #289F3A
tetradic
#3A289F #9F2852 #8D9F28 #289F76
square
#3A289F #9F2852 #8D9F28 #289F76
split-complementary
#3A289F #9F7628 #529F28
monochromatic
#160F3D #281C6E #3A289F #4E37CD #7968D9

Accessibility & contrast

On white

10.58
#3A289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3A289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A289F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A289F#FFFFFF#000000##FFFFFF
##3A289F1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a289f;
/* rgb */ color: rgb(58, 40, 159);
/* oklch */ color: oklch(38.5% 0.180 280.6);
Tailwind
colors: {
  custom: {
    50: '#7d64bd',
    500: '#3a289f',
    950: '#000000',
  },
}
SCSS
$custom: #3a289f;
$custom-light: #7d64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a289f",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 249.076,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38508,
    "c": 0.18035,
    "h": 280.6
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#3A289F
secondary
#B1BF64
accent
#E345CB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A289F

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

Preview Lab → · Contrast checker → · Palette generator →

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