#33298A#33298A

#33298A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.154 H 280.0°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#33298A
RGBrgb(51, 41, 138)
HSLhsl(246, 54%, 35%)
HSVhsv(246, 70%, 54%)
CMYKcmyk(63%, 70.3%, 0%, 45.9%)
CIE-LABlab(24.08, 34.25, -52.51)
CIE-LCHlch(24.08, 62.70, 303.11°)
OKLaboklab(36.01% 0.0267 -0.1514)
OKLCHoklch(36.01% 0.154 280)
XYZxyz(6.7442, 4.1242, 24.4805)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33298A #808A29
analogous
#294F8A #33298A #64298A
triadic
#33298A #8A3329 #298A33
tetradic
#33298A #8A294F #808A29 #298A64
square
#33298A #8A294F #808A29 #298A64
split-complementary
#33298A #8A6429 #4F8A29
monochromatic
#100D2C #221B5B #33298A #4437B9 #6A5ECF

Accessibility & contrast

On white

11.51
#33298A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#33298A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33298A
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33298A#FFFFFF#000000##FFFFFF
##33298A1.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #33298a;
/* rgb */ color: rgb(51, 41, 138);
/* oklch */ color: oklch(36.0% 0.154 280.0);
Tailwind
colors: {
  custom: {
    50: '#7664ad',
    500: '#33298a',
    950: '#000000',
  },
}
SCSS
$custom: #33298a;
$custom-light: #7664ad;
$custom-dark: #000000;
JSON
{
  "hex": "#33298a",
  "rgb": {
    "r": 51,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 246.186,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36009,
    "c": 0.15371,
    "h": 280
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

primary
#33298A
secondary
#ABB55A
accent
#DE4ACE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #33298A

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

Preview Lab → · Contrast checker → · Palette generator →

#33298A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva