#33277A#33277A

#33277A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.135 H 283.2°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#33277A
RGBrgb(51, 39, 122)
HSLhsl(249, 52%, 32%)
HSVhsv(249, 68%, 48%)
CMYKcmyk(58.2%, 68%, 0%, 52.2%)
CIE-LABlab(22.16, 30.11, -45.58)
CIE-LCHlch(22.16, 54.63, 303.45°)
OKLaboklab(34.17% 0.0308 -0.131)
OKLCHoklch(34.17% 0.135 283.2)
XYZxyz(5.6025, 3.5596, 18.8004)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33277A #6E7A27
analogous
#27457A #33277A #5D277A
triadic
#33277A #7A3327 #277A33
tetradic
#33277A #7A2745 #6E7A27 #277A5D
square
#33277A #7A2745 #6E7A27 #277A5D
split-complementary
#33277A #7A5D27 #457A27
monochromatic
#0C091D #20184C #33277A #4636A8 #6453C8

Accessibility & contrast

On white

12.27
#33277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#33277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33277A
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33277A#FFFFFF#000000##FFFFFF
##33277A1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#103C4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #33277a;
/* rgb */ color: rgb(51, 39, 122);
/* oklch */ color: oklch(34.2% 0.135 283.2);
Tailwind
colors: {
  custom: {
    50: '#7362a1',
    500: '#33277a',
    950: '#000000',
  },
}
SCSS
$custom: #33277a;
$custom-light: #7362a1;
$custom-dark: #000000;
JSON
{
  "hex": "#33277a",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 248.675,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34173,
    "c": 0.13459,
    "h": 283.2
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#33277A
secondary
#9FAC51
accent
#DB4DC6
background
#F7F5FA
surface
#EDEAF3
border
#C8C6CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33277A

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

Preview Lab → · Contrast checker → · Palette generator →

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