#33299A#33299A

#33299A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.174 H 277.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#33299A
RGBrgb(51, 41, 154)
HSLhsl(245, 58%, 38%)
HSVhsv(245, 73%, 60%)
CMYKcmyk(66.9%, 73.4%, 0%, 39.6%)
CIE-LABlab(25.63, 39.58, -59.85)
CIE-LCHlch(25.63, 71.75, 303.48°)
OKLaboklab(37.59% 0.0238 -0.1728)
OKLCHoklch(37.59% 0.174 277.8)
XYZxyz(7.9890, 4.6221, 31.0367)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33299A #909A29
analogous
#29579A #33299A #6B299A
triadic
#33299A #9A3329 #299A33
tetradic
#33299A #9A2957 #909A29 #299A6B
square
#33299A #9A2957 #909A29 #299A6B
split-complementary
#33299A #9A6B29 #579A29
monochromatic
#130F39 #231C6A #33299A #4437CA #7167D7

Accessibility & contrast

On white

10.91
#33299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#33299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33299A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33299A#FFFFFF#000000##FFFFFF
##33299A1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #33299a;
/* rgb */ color: rgb(51, 41, 154);
/* oklch */ color: oklch(37.6% 0.174 277.8);
Tailwind
colors: {
  custom: {
    50: '#7964b9',
    500: '#33299a',
    950: '#000000',
  },
}
SCSS
$custom: #33299a;
$custom-light: #7964b9;
$custom-dark: #000000;
JSON
{
  "hex": "#33299a",
  "rgb": {
    "r": 51,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 245.31,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37591,
    "c": 0.17445,
    "h": 277.8
  },
  "luminance": 0.04623
}

Semantic roles & 50–950 ramp

primary
#33299A
secondary
#B5BD62
accent
#E147D3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #33299A

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

Preview Lab → · Contrast checker → · Palette generator →

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