#33228E#33228E

#33228E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.167 H 280.8°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#33228E
RGBrgb(51, 34, 142)
HSLhsl(249, 61%, 35%)
HSVhsv(249, 76%, 56%)
CMYKcmyk(64.1%, 76.1%, 0%, 44.3%)
CIE-LABlab(23.00, 39.65, -56.78)
CIE-LCHlch(23.00, 69.25, 304.93°)
OKLaboklab(35.36% 0.0312 -0.1638)
OKLCHoklch(35.36% 0.167 280.8)
XYZxyz(6.8182, 3.8003, 25.9602)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33228E #7D8E22
analogous
#22478E #33228E #69228E
triadic
#33228E #8E3322 #228E33
tetradic
#33228E #8E2247 #7D8E22 #228E69
square
#33228E #8E2247 #7D8E22 #228E69
split-complementary
#33228E #8E6922 #478E22
monochromatic
#100A2B #21165D #33228E #452EBF #6954D6

Accessibility & contrast

On white

11.93
#33228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#33228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33228E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33228E#FFFFFF#000000##FFFFFF
##33228E1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #33228e;
/* rgb */ color: rgb(51, 34, 142);
/* oklch */ color: oklch(35.4% 0.167 280.8);
Tailwind
colors: {
  custom: {
    50: '#775fb0',
    500: '#33228e',
    950: '#000000',
  },
}
SCSS
$custom: #33228e;
$custom-light: #775fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#33228e",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 249.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3536,
    "c": 0.16675,
    "h": 280.8
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#33228E
secondary
#AABA52
accent
#E443CB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #33228E

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

Preview Lab → · Contrast checker → · Palette generator →

#33228E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva