#3229A8#3229A8

#3229A8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.192 H 275.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#3229A8
RGBrgb(50, 41, 168)
HSLhsl(244, 61%, 41%)
HSVhsv(244, 76%, 66%)
CMYKcmyk(70.2%, 75.6%, 0%, 34.1%)
CIE-LABlab(26.99, 44.05, -66.12)
CIE-LCHlch(26.99, 79.45, 303.67°)
OKLaboklab(38.97% 0.0196 -0.1911)
OKLCHoklch(38.97% 0.192 275.8)
XYZxyz(9.1739, 5.0903, 37.5373)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3229A8 #9FA829
analogous
#295FA8 #3229A8 #7129A8
triadic
#3229A8 #A83229 #29A832
tetradic
#3229A8 #A8295F #9FA829 #29A871
square
#3229A8 #A8295F #9FA829 #29A871
split-complementary
#3229A8 #A87129 #5FA829
monochromatic
#151146 #231D77 #3229A8 #493ED0 #776FDC

Accessibility & contrast

On white

10.41
#3229A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3229A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3229A8
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3229A8#FFFFFF#000000##FFFFFF
##3229A81.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3229a8;
/* rgb */ color: rgb(50, 41, 168);
/* oklch */ color: oklch(39.0% 0.192 275.8);
Tailwind
colors: {
  custom: {
    50: '#7c65c3',
    500: '#3229a8',
    950: '#000000',
  },
}
SCSS
$custom: #3229a8;
$custom-light: #7c65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3229a8",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 244.252,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38967,
    "c": 0.19212,
    "h": 275.8
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#3229A8
secondary
#BDC36A
accent
#E444D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3229A8

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

Preview Lab → · Contrast checker → · Palette generator →

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