#33277D#33277D

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

Color values

HEX#33277D
RGBrgb(51, 39, 125)
HSLhsl(248, 52%, 32%)
HSVhsv(248, 69%, 49%)
CMYKcmyk(59.2%, 68.8%, 0%, 51%)
CIE-LABlab(22.43, 31.12, -47.05)
CIE-LCHlch(22.43, 56.41, 303.48°)
OKLaboklab(34.45% 0.0304 -0.1353)
OKLCHoklch(34.45% 0.139 282.7)
XYZxyz(5.7913, 3.6351, 19.7945)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33277D #717D27
analogous
#27467D #33277D #5E277D
triadic
#33277D #7D3327 #277D33
tetradic
#33277D #7D2746 #717D27 #277D5E
square
#33277D #7D2746 #717D27 #277D5E
split-complementary
#33277D #7D5E27 #467D27
monochromatic
#0D0A20 #20184E #33277D #4636AC #6555CA

Accessibility & contrast

On white

12.16
#33277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33277D
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33277D#FFFFFF#000000##FFFFFF
##33277D1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#0B3D4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33277d;
/* rgb */ color: rgb(51, 39, 125);
/* oklch */ color: oklch(34.4% 0.139 282.7);
Tailwind
colors: {
  custom: {
    50: '#7362a3',
    500: '#33277d',
    950: '#000000',
  },
}
SCSS
$custom: #33277d;
$custom-light: #7362a3;
$custom-dark: #000000;
JSON
{
  "hex": "#33277d",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 248.372,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3445,
    "c": 0.1387,
    "h": 282.7
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33277D

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

Preview Lab → · Contrast checker → · Palette generator →

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