#33279F#33279F

#33279F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.183 H 277.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#33279F
RGBrgb(51, 39, 159)
HSLhsl(246, 61%, 39%)
HSVhsv(246, 75%, 62%)
CMYKcmyk(67.9%, 75.5%, 0%, 37.6%)
CIE-LABlab(25.74, 42.35, -62.73)
CIE-LCHlch(25.74, 75.69, 304.02°)
OKLaboklab(37.82% 0.024 -0.1812)
OKLCHoklch(37.82% 0.183 277.6)
XYZxyz(8.3467, 4.6573, 33.2533)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33279F #939F27
analogous
#27579F #33279F #6F279F
triadic
#33279F #9F3327 #279F33
tetradic
#33279F #9F2757 #939F27 #279F6F
square
#33279F #9F2757 #939F27 #279F6F
split-complementary
#33279F #9F6F27 #579F27
monochromatic
#130F3D #231B6E #33279F #4536CE #7267DA

Accessibility & contrast

On white

10.87
#33279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#33279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33279F
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33279F#FFFFFF#000000##FFFFFF
##33279F1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #33279f;
/* rgb */ color: rgb(51, 39, 159);
/* oklch */ color: oklch(37.8% 0.183 277.6);
Tailwind
colors: {
  custom: {
    50: '#7a63bd',
    500: '#33279f',
    950: '#000000',
  },
}
SCSS
$custom: #33279f;
$custom-light: #7a63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#33279f",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 246,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37819,
    "c": 0.1828,
    "h": 277.6
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#33279F
secondary
#B6C062
accent
#E444D4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #33279F

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

Preview Lab → · Contrast checker → · Palette generator →

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