#33277F#33277F

#33277F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.141 H 282.3°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#33277F
RGBrgb(51, 39, 127)
HSLhsl(248, 53%, 33%)
HSVhsv(248, 69%, 50%)
CMYKcmyk(59.8%, 69.3%, 0%, 50.2%)
CIE-LABlab(22.61, 31.79, -48.02)
CIE-LCHlch(22.61, 57.58, 303.51°)
OKLaboklab(34.64% 0.0301 -0.1382)
OKLCHoklch(34.64% 0.141 282.3)
XYZxyz(5.9203, 3.6868, 20.4742)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33277F #737F27
analogous
#27477F #33277F #5F277F
triadic
#33277F #7F3327 #277F33
tetradic
#33277F #7F2747 #737F27 #277F5F
square
#33277F #7F2747 #737F27 #277F5F
split-complementary
#33277F #7F5F27 #477F27
monochromatic
#0D0A21 #201950 #33277F #4635AE #6555CB

Accessibility & contrast

On white

12.09
#33277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#33277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33277F
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33277F#FFFFFF#000000##FFFFFF
##33277F1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#073E4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33277f;
/* rgb */ color: rgb(51, 39, 127);
/* oklch */ color: oklch(34.6% 0.141 282.3);
Tailwind
colors: {
  custom: {
    50: '#7462a5',
    500: '#33277f',
    950: '#000000',
  },
}
SCSS
$custom: #33277f;
$custom-light: #7462a5;
$custom-dark: #000000;
JSON
{
  "hex": "#33277f",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 248.182,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34637,
    "c": 0.14143,
    "h": 282.3
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#33277F
secondary
#A3B052
accent
#DC4BC9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33277F

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

Preview Lab → · Contrast checker → · Palette generator →

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