#3229A5#3229A5

#3229A5 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.188 H 276.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3229A5
RGBrgb(50, 41, 165)
HSLhsl(244, 60%, 40%)
HSVhsv(244, 75%, 65%)
CMYKcmyk(69.7%, 75.2%, 0%, 35.3%)
CIE-LABlab(26.68, 43.08, -64.82)
CIE-LCHlch(26.68, 77.83, 303.61°)
OKLaboklab(38.65% 0.0202 -0.1873)
OKLCHoklch(38.65% 0.188 276.2)
XYZxyz(8.8976, 4.9798, 36.0823)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3229A5 #9CA529
analogous
#295EA5 #3229A5 #7029A5
triadic
#3229A5 #A53229 #29A532
tetradic
#3229A5 #A5295E #9CA529 #29A570
square
#3229A5 #A5295E #9CA529 #29A570
split-complementary
#3229A5 #A57029 #5EA529
monochromatic
#141143 #231D74 #3229A5 #473DCF #756EDB

Accessibility & contrast

On white

10.52
#3229A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3229A5
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3229A5#FFFFFF#000000##FFFFFF
##3229A51.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3229a5;
/* rgb */ color: rgb(50, 41, 165);
/* oklch */ color: oklch(38.7% 0.188 276.2);
Tailwind
colors: {
  custom: {
    50: '#7b65c1',
    500: '#3229a5',
    950: '#000000',
  },
}
SCSS
$custom: #3229a5;
$custom-light: #7b65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3229a5",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 244.355,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38652,
    "c": 0.18844,
    "h": 276.2
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#3229A5
secondary
#BBC268
accent
#E344D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3229A5

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

Preview Lab → · Contrast checker → · Palette generator →

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