#33277C#33277C

#33277C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.137 H 282.9°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#33277C
RGBrgb(51, 39, 124)
HSLhsl(248, 52%, 32%)
HSVhsv(248, 69%, 49%)
CMYKcmyk(58.9%, 68.5%, 0%, 51.4%)
CIE-LABlab(22.34, 30.78, -46.56)
CIE-LCHlch(22.34, 55.81, 303.47°)
OKLaboklab(34.36% 0.0306 -0.1339)
OKLCHoklch(34.36% 0.137 282.9)
XYZxyz(5.7277, 3.6097, 19.4598)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33277C #707C27
analogous
#27457C #33277C #5E277C
triadic
#33277C #7C3327 #277C33
tetradic
#33277C #7C2745 #707C27 #277C5E
square
#33277C #7C2745 #707C27 #277C5E
split-complementary
#33277C #7C5E27 #457C27
monochromatic
#0D0A1F #20184D #33277C #4636AB #6554C9

Accessibility & contrast

On white

12.20
#33277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#33277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33277C
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33277C#FFFFFF#000000##FFFFFF
##33277C1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#0D3D4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #33277c;
/* rgb */ color: rgb(51, 39, 124);
/* oklch */ color: oklch(34.4% 0.137 282.9);
Tailwind
colors: {
  custom: {
    50: '#7362a3',
    500: '#33277c',
    950: '#000000',
  },
}
SCSS
$custom: #33277c;
$custom-light: #7362a3;
$custom-dark: #000000;
JSON
{
  "hex": "#33277c",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 248.471,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34357,
    "c": 0.13734,
    "h": 282.9
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#33277C
secondary
#A1AE51
accent
#DC4CC7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33277C

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

Preview Lab → · Contrast checker → · Palette generator →

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