#3229B8#3229B8

#3229B8 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.211 H 274.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#3229B8
RGBrgb(50, 41, 184)
HSLhsl(244, 64%, 44%)
HSVhsv(244, 78%, 72%)
CMYKcmyk(72.8%, 77.7%, 0%, 27.8%)
CIE-LABlab(28.70, 49.17, -72.86)
CIE-LCHlch(28.70, 87.90, 304.01°)
OKLaboklab(40.68% 0.016 -0.2107)
OKLCHoklch(40.68% 0.211 274.3)
XYZxyz(10.7572, 5.7236, 45.8760)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3229B8 #AFB829
analogous
#2968B8 #3229B8 #7A29B8
triadic
#3229B8 #B83229 #29B832
tetradic
#3229B8 #B82968 #AFB829 #29B87A
square
#3229B8 #B82968 #AFB829 #29B87A
split-complementary
#3229B8 #B87A29 #68B829
monochromatic
#171354 #241E86 #3229B8 #5148D6 #817AE1

Accessibility & contrast

On white

9.79
#3229B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3229B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3229B8
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3229B8#FFFFFF#000000##FFFFFF
##3229B81.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABC
Deuteranopia (green-blind)
#003DB6
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3229b8;
/* rgb */ color: rgb(50, 41, 184);
/* oklch */ color: oklch(40.7% 0.211 274.3);
Tailwind
colors: {
  custom: {
    50: '#7f66cf',
    500: '#3229b8',
    950: '#000000',
  },
}
SCSS
$custom: #3229b8;
$custom-light: #7f66cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3229b8",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 243.776,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4068,
    "c": 0.21135,
    "h": 274.3
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#3229B8
secondary
#C4C973
accent
#E741DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3229B8

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

Preview Lab → · Contrast checker → · Palette generator →

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