#3229C5#3229C5

#3229C5 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.1% C 0.226 H 273.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3229C5
RGBrgb(50, 41, 197)
HSLhsl(243, 66%, 47%)
HSVhsv(243, 79%, 77%)
CMYKcmyk(74.6%, 79.2%, 0%, 22.7%)
CIE-LABlab(30.14, 53.21, -78.15)
CIE-LCHlch(30.14, 94.55, 304.25°)
OKLaboklab(42.11% 0.013 -0.2261)
OKLCHoklch(42.11% 0.226 273.3)
XYZxyz(12.1830, 6.2939, 53.3853)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3229C5 #BCC529
analogous
#296EC5 #3229C5 #8029C5
triadic
#3229C5 #C53229 #29C532
tetradic
#3229C5 #C5296E #BCC529 #29C580
square
#3229C5 #C5296E #BCC529 #29C580
split-complementary
#3229C5 #C58029 #6EC529
monochromatic
#181460 #251E92 #3229C5 #5851DB #8983E5

Accessibility & contrast

On white

9.30
#3229C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3229C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3229C5
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3229C5#FFFFFF#000000##FFFFFF
##3229C51.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC9
Deuteranopia (green-blind)
#003FC2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3229c5;
/* rgb */ color: rgb(50, 41, 197);
/* oklch */ color: oklch(42.1% 0.226 273.3);
Tailwind
colors: {
  custom: {
    50: '#8267d8',
    500: '#3229c5',
    950: '#000000',
  },
}
SCSS
$custom: #3229c5;
$custom-light: #8267d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3229c5",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 243.462,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42106,
    "c": 0.22648,
    "h": 273.3
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#3229C5
secondary
#C9CE7C
accent
#E83FDF
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #3229C5

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

Preview Lab → · Contrast checker → · Palette generator →

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