#3A299E#3A299E

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

Color values

HEX#3A299E
RGBrgb(58, 41, 158)
HSLhsl(249, 59%, 39%)
HSVhsv(249, 74%, 62%)
CMYKcmyk(63.3%, 74.1%, 0%, 38%)
CIE-LABlab(26.60, 41.77, -60.67)
CIE-LCHlch(26.60, 73.66, 304.55°)
OKLaboklab(38.55% 0.0328 -0.175)
OKLCHoklch(38.55% 0.178 280.6)
XYZxyz(8.7075, 4.9534, 32.8384)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A299E #8D9E29
analogous
#29539E #3A299E #75299E
triadic
#3A299E #9E3A29 #299E3A
tetradic
#3A299E #9E2953 #8D9E29 #299E75
square
#3A299E #9E2953 #8D9E29 #299E75
split-complementary
#3A299E #9E7529 #539E29
monochromatic
#16103D #281C6D #3A299E #4E39CC #7969D8

Accessibility & contrast

On white

10.55
#3A299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3A299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A299E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A299E#FFFFFF#000000##FFFFFF
##3A299E1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a299e;
/* rgb */ color: rgb(58, 41, 158);
/* oklch */ color: oklch(38.5% 0.178 280.6);
Tailwind
colors: {
  custom: {
    50: '#7d65bc',
    500: '#3a299e',
    950: '#000000',
  },
}
SCSS
$custom: #3a299e;
$custom-light: #7d65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a299e",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 248.718,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.17807,
    "h": 280.6
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#3A299E
secondary
#B1BF64
accent
#E246CB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A299E

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

Preview Lab → · Contrast checker → · Palette generator →

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