#33279A#33279A

#33279A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.177 H 278.2°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#33279A
RGBrgb(51, 39, 154)
HSLhsl(246, 60%, 38%)
HSVhsv(246, 75%, 60%)
CMYKcmyk(66.9%, 74.7%, 0%, 39.6%)
CIE-LABlab(25.22, 40.73, -60.52)
CIE-LCHlch(25.22, 72.95, 303.94°)
OKLaboklab(37.3% 0.0251 -0.1748)
OKLCHoklch(37.3% 0.177 278.2)
XYZxyz(7.9216, 4.4873, 31.0143)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33279A #8E9A27
analogous
#27549A #33279A #6C279A
triadic
#33279A #9A3327 #279A33
tetradic
#33279A #9A2754 #8E9A27 #279A6C
square
#33279A #9A2754 #8E9A27 #279A6C
split-complementary
#33279A #9A6C27 #549A27
monochromatic
#130E38 #231B69 #33279A #4333CB #7064D8

Accessibility & contrast

On white

11.07
#33279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#33279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33279A
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33279A#FFFFFF#000000##FFFFFF
##33279A1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #33279a;
/* rgb */ color: rgb(51, 39, 154);
/* oklch */ color: oklch(37.3% 0.177 278.2);
Tailwind
colors: {
  custom: {
    50: '#7963b9',
    500: '#33279a',
    950: '#000000',
  },
}
SCSS
$custom: #33279a;
$custom-light: #7963b9;
$custom-dark: #000000;
JSON
{
  "hex": "#33279a",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 246.261,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37301,
    "c": 0.17657,
    "h": 278.2
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#33279A
secondary
#B4BD5F
accent
#E345D2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #33279A

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

Preview Lab → · Contrast checker → · Palette generator →

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