#3229BA#3229BA

#3229BA is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.214 H 274.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#3229BA
RGBrgb(50, 41, 186)
HSLhsl(244, 64%, 45%)
HSVhsv(244, 78%, 73%)
CMYKcmyk(73.1%, 78%, 0%, 27.1%)
CIE-LABlab(28.92, 49.79, -73.68)
CIE-LCHlch(28.92, 88.93, 304.05°)
OKLaboklab(40.9% 0.0156 -0.2131)
OKLCHoklch(40.9% 0.214 274.2)
XYZxyz(10.9683, 5.8081, 46.9879)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3229BA #B1BA29
analogous
#2969BA #3229BA #7B29BA
triadic
#3229BA #BA3229 #29BA32
tetradic
#3229BA #BA2969 #B1BA29 #29BA7B
square
#3229BA #BA2969 #B1BA29 #29BA7B
split-complementary
#3229BA #BA7B29 #69BA29
monochromatic
#171356 #251E88 #3229BA #5249D7 #827BE2

Accessibility & contrast

On white

9.71
#3229BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3229BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3229BA
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3229BA#FFFFFF#000000##FFFFFF
##3229BA1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#003DB7
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3229ba;
/* rgb */ color: rgb(50, 41, 186);
/* oklch */ color: oklch(40.9% 0.214 274.2);
Tailwind
colors: {
  custom: {
    50: '#8066d0',
    500: '#3229ba',
    950: '#000000',
  },
}
SCSS
$custom: #3229ba;
$custom-light: #8066d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3229ba",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 243.724,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40897,
    "c": 0.21371,
    "h": 274.2
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#3229BA
secondary
#C5CA75
accent
#E741DD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3229BA

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

Preview Lab → · Contrast checker → · Palette generator →

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