#3229A6#3229A6

#3229A6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.190 H 276.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#3229A6
RGBrgb(50, 41, 166)
HSLhsl(244, 60%, 41%)
HSVhsv(244, 75%, 65%)
CMYKcmyk(69.9%, 75.3%, 0%, 34.9%)
CIE-LABlab(26.78, 43.40, -65.25)
CIE-LCHlch(26.78, 78.37, 303.63°)
OKLaboklab(38.76% 0.02 -0.1886)
OKLCHoklch(38.76% 0.19 276.1)
XYZxyz(8.9890, 5.0163, 36.5635)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3229A6 #9DA629
analogous
#295EA6 #3229A6 #7029A6
triadic
#3229A6 #A63229 #29A632
tetradic
#3229A6 #A6295E #9DA629 #29A670
square
#3229A6 #A6295E #9DA629 #29A670
split-complementary
#3229A6 #A67029 #5EA629
monochromatic
#141144 #231D75 #3229A6 #483DCF #766EDB

Accessibility & contrast

On white

10.48
#3229A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3229A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3229A6
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3229A6#FFFFFF#000000##FFFFFF
##3229A61.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3229a6;
/* rgb */ color: rgb(50, 41, 166);
/* oklch */ color: oklch(38.8% 0.190 276.1);
Tailwind
colors: {
  custom: {
    50: '#7b65c2',
    500: '#3229a6',
    950: '#000000',
  },
}
SCSS
$custom: #3229a6;
$custom-light: #7b65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3229a6",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 244.32,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38756,
    "c": 0.18967,
    "h": 276.1
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#3229A6
secondary
#BCC269
accent
#E444D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3229A6

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

Preview Lab → · Contrast checker → · Palette generator →

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