#33289F#33289F

#33289F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.182 H 277.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#33289F
RGBrgb(51, 40, 159)
HSLhsl(246, 60%, 39%)
HSVhsv(246, 75%, 62%)
CMYKcmyk(67.9%, 74.8%, 0%, 37.6%)
CIE-LABlab(25.93, 41.79, -62.40)
CIE-LCHlch(25.93, 75.10, 303.81°)
OKLaboklab(37.96% 0.0234 -0.1803)
OKLCHoklch(37.96% 0.182 277.4)
XYZxyz(8.3800, 4.7239, 33.2643)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33289F #949F28
analogous
#28599F #33289F #6F289F
triadic
#33289F #9F3328 #289F33
tetradic
#33289F #9F2859 #949F28 #289F6F
square
#33289F #9F2859 #949F28 #289F6F
split-complementary
#33289F #9F6F28 #599F28
monochromatic
#140F3D #231C6E #33289F #4537CD #7368D9

Accessibility & contrast

On white

10.80
#33289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#33289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33289F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33289F#FFFFFF#000000##FFFFFF
##33289F1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33289f;
/* rgb */ color: rgb(51, 40, 159);
/* oklch */ color: oklch(38.0% 0.182 277.4);
Tailwind
colors: {
  custom: {
    50: '#7a64bd',
    500: '#33289f',
    950: '#000000',
  },
}
SCSS
$custom: #33289f;
$custom-light: #7a64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#33289f",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 245.546,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37959,
    "c": 0.18178,
    "h": 277.4
  },
  "luminance": 0.04725
}

Semantic roles & 50–950 ramp

primary
#33289F
secondary
#B7BF64
accent
#E345D4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #33289F

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

Preview Lab → · Contrast checker → · Palette generator →

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