#33277E#33277E

#33277E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.140 H 282.5°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#33277E
RGBrgb(51, 39, 126)
HSLhsl(248, 53%, 32%)
HSVhsv(248, 69%, 49%)
CMYKcmyk(59.5%, 69%, 0%, 50.6%)
CIE-LABlab(22.52, 31.45, -47.53)
CIE-LCHlch(22.52, 57.00, 303.49°)
OKLaboklab(34.54% 0.0303 -0.1368)
OKLCHoklch(34.54% 0.14 282.5)
XYZxyz(5.8555, 3.6608, 20.1327)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33277E #727E27
analogous
#27467E #33277E #5F277E
triadic
#33277E #7E3327 #277E33
tetradic
#33277E #7E2746 #727E27 #277E5F
square
#33277E #7E2746 #727E27 #277E5F
split-complementary
#33277E #7E5F27 #467E27
monochromatic
#0D0A21 #20194F #33277E #4635AD #6555CA

Accessibility & contrast

On white

12.12
#33277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#33277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33277E
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33277E#FFFFFF#000000##FFFFFF
##33277E1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#093D4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33277e;
/* rgb */ color: rgb(51, 39, 126);
/* oklch */ color: oklch(34.5% 0.140 282.5);
Tailwind
colors: {
  custom: {
    50: '#7362a4',
    500: '#33277e',
    950: '#000000',
  },
}
SCSS
$custom: #33277e;
$custom-light: #7362a4;
$custom-dark: #000000;
JSON
{
  "hex": "#33277e",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 248.276,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34543,
    "c": 0.14007,
    "h": 282.5
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#33277E
secondary
#A2AF52
accent
#DC4CC8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33277E

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

Preview Lab → · Contrast checker → · Palette generator →

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