#3A279E#3A279E

#3A279E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.180 H 280.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#3A279E
RGBrgb(58, 39, 158)
HSLhsl(250, 60%, 39%)
HSVhsv(250, 75%, 62%)
CMYKcmyk(63.3%, 75.3%, 0%, 38%)
CIE-LABlab(26.21, 42.87, -61.31)
CIE-LCHlch(26.21, 74.82, 304.96°)
OKLaboklab(38.27% 0.0342 -0.1769)
OKLCHoklch(38.27% 0.18 280.9)
XYZxyz(8.6401, 4.8186, 32.8159)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A279E #8B9E27
analogous
#274F9E #3A279E #75279E
triadic
#3A279E #9E3A27 #279E3A
tetradic
#3A279E #9E274F #8B9E27 #279E75
square
#3A279E #9E274F #8B9E27 #279E75
split-complementary
#3A279E #9E7527 #4F9E27
monochromatic
#160F3C #281B6D #3A279E #4D35CD #7966D9

Accessibility & contrast

On white

10.69
#3A279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A279E
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A279E#FFFFFF#000000##FFFFFF
##3A279E1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a279e;
/* rgb */ color: rgb(58, 39, 158);
/* oklch */ color: oklch(38.3% 0.180 280.9);
Tailwind
colors: {
  custom: {
    50: '#7d64bc',
    500: '#3a279e',
    950: '#000000',
  },
}
SCSS
$custom: #3a279e;
$custom-light: #7d64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a279e",
  "rgb": {
    "r": 58,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 249.58,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3827,
    "c": 0.18015,
    "h": 280.9
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#3A279E
secondary
#B0BF62
accent
#E444CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3A279E

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

Preview Lab → · Contrast checker → · Palette generator →

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