#3229A7#3229A7

#3229A7 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.191 H 276.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3229A7
RGBrgb(50, 41, 167)
HSLhsl(244, 61%, 41%)
HSVhsv(244, 75%, 65%)
CMYKcmyk(70.1%, 75.4%, 0%, 34.5%)
CIE-LABlab(26.89, 43.73, -65.69)
CIE-LCHlch(26.89, 78.91, 303.65°)
OKLaboklab(38.86% 0.0198 -0.1899)
OKLCHoklch(38.86% 0.191 276)
XYZxyz(9.0811, 5.0532, 37.0485)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3229A7 #9EA729
analogous
#295FA7 #3229A7 #7129A7
triadic
#3229A7 #A73229 #29A732
tetradic
#3229A7 #A7295F #9EA729 #29A771
square
#3229A7 #A7295F #9EA729 #29A771
split-complementary
#3229A7 #A77129 #5FA729
monochromatic
#151145 #231D76 #3229A7 #483ED0 #776FDC

Accessibility & contrast

On white

10.44
#3229A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3229A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3229A7
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3229A7#FFFFFF#000000##FFFFFF
##3229A71.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3229a7;
/* rgb */ color: rgb(50, 41, 167);
/* oklch */ color: oklch(38.9% 0.191 276.0);
Tailwind
colors: {
  custom: {
    50: '#7b65c2',
    500: '#3229a7',
    950: '#000000',
  },
}
SCSS
$custom: #3229a7;
$custom-light: #7b65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3229a7",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 167
  },
  "hsl": {
    "h": 244.286,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38861,
    "c": 0.1909,
    "h": 276
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#3229A7
secondary
#BCC269
accent
#E444D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3229A7

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

Preview Lab → · Contrast checker → · Palette generator →

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