#33299F#33299F

#33299F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.181 H 277.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#33299F
RGBrgb(51, 41, 159)
HSLhsl(245, 59%, 39%)
HSVhsv(245, 74%, 62%)
CMYKcmyk(67.9%, 74.2%, 0%, 37.6%)
CIE-LABlab(26.13, 41.23, -62.07)
CIE-LCHlch(26.13, 74.51, 303.59°)
OKLaboklab(38.1% 0.0228 -0.1793)
OKLCHoklch(38.1% 0.181 277.2)
XYZxyz(8.4142, 4.7922, 33.2757)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33299F #959F29
analogous
#295A9F #33299F #6E299F
triadic
#33299F #9F3329 #299F33
tetradic
#33299F #9F295A #959F29 #299F6E
square
#33299F #9F295A #959F29 #299F6E
split-complementary
#33299F #9F6E29 #5A9F29
monochromatic
#14103E #231C6E #33299F #4639CC #736AD9

Accessibility & contrast

On white

10.72
#33299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#33299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33299F
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33299F#FFFFFF#000000##FFFFFF
##33299F1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #33299f;
/* rgb */ color: rgb(51, 41, 159);
/* oklch */ color: oklch(38.1% 0.181 277.2);
Tailwind
colors: {
  custom: {
    50: '#7a65bd',
    500: '#33299f',
    950: '#000000',
  },
}
SCSS
$custom: #33299f;
$custom-light: #7a65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#33299f",
  "rgb": {
    "r": 51,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 245.085,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38101,
    "c": 0.18076,
    "h": 277.2
  },
  "luminance": 0.04793
}

Semantic roles & 50–950 ramp

primary
#33299F
secondary
#B7BF65
accent
#E246D5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #33299F

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

Preview Lab → · Contrast checker → · Palette generator →

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