#33279E#33279E

#33279E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.182 H 277.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#33279E
RGBrgb(51, 39, 158)
HSLhsl(246, 60%, 39%)
HSVhsv(246, 75%, 62%)
CMYKcmyk(67.7%, 75.3%, 0%, 38%)
CIE-LABlab(25.63, 42.03, -62.29)
CIE-LCHlch(25.63, 75.14, 304.01°)
OKLaboklab(37.71% 0.0243 -0.1799)
OKLCHoklch(37.71% 0.182 277.7)
XYZxyz(8.2603, 4.6228, 32.7981)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33279E #929E27
analogous
#27569E #33279E #6E279E
triadic
#33279E #9E3327 #279E33
tetradic
#33279E #9E2756 #929E27 #279E6E
square
#33279E #9E2756 #929E27 #279E6E
split-complementary
#33279E #9E6E27 #569E27
monochromatic
#130F3C #231B6D #33279E #4435CD #7266D9

Accessibility & contrast

On white

10.91
#33279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33279E
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33279E#FFFFFF#000000##FFFFFF
##33279E1.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)
#0041A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #33279e;
/* rgb */ color: rgb(51, 39, 158);
/* oklch */ color: oklch(37.7% 0.182 277.7);
Tailwind
colors: {
  custom: {
    50: '#7a63bc',
    500: '#33279e',
    950: '#000000',
  },
}
SCSS
$custom: #33279e;
$custom-light: #7a63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#33279e",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 246.05,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37715,
    "c": 0.18156,
    "h": 277.7
  },
  "luminance": 0.04623
}

Semantic roles & 50–950 ramp

primary
#33279E
secondary
#B6BF62
accent
#E444D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #33279E

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

Preview Lab → · Contrast checker → · Palette generator →

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