#3229A2#3229A2

#3229A2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.185 H 276.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#3229A2
RGBrgb(50, 41, 162)
HSLhsl(244, 60%, 40%)
HSVhsv(244, 75%, 64%)
CMYKcmyk(69.1%, 74.7%, 0%, 36.5%)
CIE-LABlab(26.37, 42.10, -63.51)
CIE-LCHlch(26.37, 76.20, 303.54°)
OKLaboklab(38.34% 0.0208 -0.1835)
OKLCHoklch(38.34% 0.185 276.5)
XYZxyz(8.6278, 4.8718, 34.6611)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3229A2 #99A229
analogous
#295CA2 #3229A2 #6F29A2
triadic
#3229A2 #A23229 #29A232
tetradic
#3229A2 #A2295C #99A229 #29A26F
square
#3229A2 #A2295C #99A229 #29A26F
split-complementary
#3229A2 #A26F29 #5CA229
monochromatic
#141040 #231D71 #3229A2 #463BCD #746CDA

Accessibility & contrast

On white

10.64
#3229A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3229A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3229A2
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3229A2#FFFFFF#000000##FFFFFF
##3229A21.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3229a2;
/* rgb */ color: rgb(50, 41, 162);
/* oklch */ color: oklch(38.3% 0.185 276.5);
Tailwind
colors: {
  custom: {
    50: '#7a65bf',
    500: '#3229a2',
    950: '#000000',
  },
}
SCSS
$custom: #3229a2;
$custom-light: #7a65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3229a2",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 244.463,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38339,
    "c": 0.18472,
    "h": 276.5
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#3229A2
secondary
#BAC067
accent
#E345D7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3229A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3229A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva