#33279C#33279C

#33279C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.179 H 277.9°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#33279C
RGBrgb(51, 39, 156)
HSLhsl(246, 60%, 38%)
HSVhsv(246, 75%, 61%)
CMYKcmyk(67.3%, 75%, 0%, 38.8%)
CIE-LABlab(25.43, 41.38, -61.41)
CIE-LCHlch(25.43, 74.05, 303.97°)
OKLaboklab(37.51% 0.0247 -0.1774)
OKLCHoklch(37.51% 0.179 277.9)
XYZxyz(8.0896, 4.5545, 31.8988)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33279C #909C27
analogous
#27559C #33279C #6D279C
triadic
#33279C #9C3327 #279C33
tetradic
#33279C #9C2755 #909C27 #279C6D
square
#33279C #9C2755 #909C27 #279C6D
split-complementary
#33279C #9C6D27 #559C27
monochromatic
#130F3A #231B6B #33279C #4434CC #7165D8

Accessibility & contrast

On white

10.99
#33279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#33279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33279C
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33279C#FFFFFF#000000##FFFFFF
##33279C1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #33279c;
/* rgb */ color: rgb(51, 39, 156);
/* oklch */ color: oklch(37.5% 0.179 277.9);
Tailwind
colors: {
  custom: {
    50: '#7a63ba',
    500: '#33279c',
    950: '#000000',
  },
}
SCSS
$custom: #33279c;
$custom-light: #7a63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#33279c",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 246.154,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37507,
    "c": 0.17907,
    "h": 277.9
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#33279C
secondary
#B5BE61
accent
#E345D3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #33279C

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

Preview Lab → · Contrast checker → · Palette generator →

#33279C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva