#33279D#33279D

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

Color values

HEX#33279D
RGBrgb(51, 39, 157)
HSLhsl(246, 60%, 38%)
HSVhsv(246, 75%, 62%)
CMYKcmyk(67.5%, 75.2%, 0%, 38.4%)
CIE-LABlab(25.53, 41.70, -61.85)
CIE-LCHlch(25.53, 74.59, 303.99°)
OKLaboklab(37.61% 0.0245 -0.1786)
OKLCHoklch(37.61% 0.18 277.8)
XYZxyz(8.1746, 4.5885, 32.3466)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33279D #919D27
analogous
#27569D #33279D #6E279D
triadic
#33279D #9D3327 #279D33
tetradic
#33279D #9D2756 #919D27 #279D6E
square
#33279D #9D2756 #919D27 #279D6E
split-complementary
#33279D #9D6E27 #569D27
monochromatic
#130F3B #231B6C #33279D #4435CD #7166D9

Accessibility & contrast

On white

10.95
#33279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#33279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33279D
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33279D#FFFFFF#000000##FFFFFF
##33279D1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #33279d;
/* rgb */ color: rgb(51, 39, 157);
/* oklch */ color: oklch(37.6% 0.180 277.8);
Tailwind
colors: {
  custom: {
    50: '#7a63bb',
    500: '#33279d',
    950: '#000000',
  },
}
SCSS
$custom: #33279d;
$custom-light: #7a63bb;
$custom-dark: #000000;
JSON
{
  "hex": "#33279d",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 246.102,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37611,
    "c": 0.18032,
    "h": 277.8
  },
  "luminance": 0.04589
}

Semantic roles & 50–950 ramp

primary
#33279D
secondary
#B5BF61
accent
#E344D3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #33279D

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

Preview Lab → · Contrast checker → · Palette generator →

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