#33299E#33299E

#33299E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.179 H 277.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#33299E
RGBrgb(51, 41, 158)
HSLhsl(245, 59%, 39%)
HSVhsv(245, 74%, 62%)
CMYKcmyk(67.7%, 74.1%, 0%, 38%)
CIE-LABlab(26.03, 40.90, -61.63)
CIE-LCHlch(26.03, 73.97, 303.57°)
OKLaboklab(38% 0.023 -0.178)
OKLCHoklch(38% 0.18 277.4)
XYZxyz(8.3277, 4.7576, 32.8206)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33299E #949E29
analogous
#295A9E #33299E #6E299E
triadic
#33299E #9E3329 #299E33
tetradic
#33299E #9E295A #949E29 #299E6E
square
#33299E #9E295A #949E29 #299E6E
split-complementary
#33299E #9E6E29 #5A9E29
monochromatic
#14103D #231C6D #33299E #4539CC #7369D8

Accessibility & contrast

On white

10.76
#33299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#33299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33299E
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33299E#FFFFFF#000000##FFFFFF
##33299E1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #33299e;
/* rgb */ color: rgb(51, 41, 158);
/* oklch */ color: oklch(38.0% 0.179 277.4);
Tailwind
colors: {
  custom: {
    50: '#7a65bc',
    500: '#33299e',
    950: '#000000',
  },
}
SCSS
$custom: #33299e;
$custom-light: #7a65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#33299e",
  "rgb": {
    "r": 51,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 245.128,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37999,
    "c": 0.1795,
    "h": 277.4
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#33299E
secondary
#B7BF64
accent
#E246D5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #33299E

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

Preview Lab → · Contrast checker → · Palette generator →

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