#3A289E#3A289E

#3A289E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.179 H 280.8°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#3A289E
RGBrgb(58, 40, 158)
HSLhsl(249, 60%, 39%)
HSVhsv(249, 75%, 62%)
CMYKcmyk(63.3%, 74.7%, 0%, 38%)
CIE-LABlab(26.40, 42.33, -61.00)
CIE-LCHlch(26.40, 74.24, 304.76°)
OKLaboklab(38.41% 0.0335 -0.176)
OKLCHoklch(38.41% 0.179 280.8)
XYZxyz(8.6733, 4.8851, 32.8270)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A289E #8C9E28
analogous
#28519E #3A289E #75289E
triadic
#3A289E #9E3A28 #289E3A
tetradic
#3A289E #9E2851 #8C9E28 #289E75
square
#3A289E #9E2851 #8C9E28 #289E75
split-complementary
#3A289E #9E7528 #519E28
monochromatic
#160F3C #281C6D #3A289E #4E37CC #7968D9

Accessibility & contrast

On white

10.62
#3A289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A289E
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A289E#FFFFFF#000000##FFFFFF
##3A289E1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a289e;
/* rgb */ color: rgb(58, 40, 158);
/* oklch */ color: oklch(38.4% 0.179 280.8);
Tailwind
colors: {
  custom: {
    50: '#7d64bc',
    500: '#3a289e',
    950: '#000000',
  },
}
SCSS
$custom: #3a289e;
$custom-light: #7d64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a289e",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 249.153,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38407,
    "c": 0.17912,
    "h": 280.8
  },
  "luminance": 0.04886
}

Semantic roles & 50–950 ramp

primary
#3A289E
secondary
#B1BF63
accent
#E345CB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A289E

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

Preview Lab → · Contrast checker → · Palette generator →

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