#3229B4#3229B4

#3229B4 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.207 H 274.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#3229B4
RGBrgb(50, 41, 180)
HSLhsl(244, 63%, 43%)
HSVhsv(244, 77%, 71%)
CMYKcmyk(72.2%, 77.2%, 0%, 29.4%)
CIE-LABlab(28.27, 47.90, -71.20)
CIE-LCHlch(28.27, 85.81, 303.93°)
OKLaboklab(40.25% 0.0169 -0.2059)
OKLCHoklch(40.25% 0.207 274.7)
XYZxyz(10.3438, 5.5583, 43.6989)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3229B4 #ABB429
analogous
#2965B4 #3229B4 #7729B4
triadic
#3229B4 #B43229 #29B432
tetradic
#3229B4 #B42965 #ABB429 #29B477
square
#3229B4 #B42965 #ABB429 #29B477
split-complementary
#3229B4 #B47729 #65B429
monochromatic
#161250 #241E82 #3229B4 #4F45D5 #7E77E0

Accessibility & contrast

On white

9.94
#3229B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3229B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3229B4
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3229B4#FFFFFF#000000##FFFFFF
##3229B41.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3229b4;
/* rgb */ color: rgb(50, 41, 180);
/* oklch */ color: oklch(40.2% 0.207 274.7);
Tailwind
colors: {
  custom: {
    50: '#7e66cc',
    500: '#3229b4',
    950: '#000000',
  },
}
SCSS
$custom: #3229b4;
$custom-light: #7e66cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3229b4",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 243.885,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40247,
    "c": 0.20661,
    "h": 274.7
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#3229B4
secondary
#C2C871
accent
#E642DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3229B4

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

Preview Lab → · Contrast checker → · Palette generator →

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