#33288F#33288F

#33288F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.161 H 279.5°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#33288F
RGBrgb(51, 40, 143)
HSLhsl(246, 56%, 36%)
HSVhsv(246, 72%, 56%)
CMYKcmyk(64.3%, 72%, 0%, 43.9%)
CIE-LABlab(24.33, 36.53, -55.20)
CIE-LCHlch(24.33, 66.19, 303.49°)
OKLaboklab(36.34% 0.0266 -0.1592)
OKLCHoklch(36.34% 0.161 279.5)
XYZxyz(7.0804, 4.2040, 26.4196)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33288F #848F28
analogous
#28508F #33288F #66288F
triadic
#33288F #8F3328 #288F33
tetradic
#33288F #8F2850 #848F28 #288F66
square
#33288F #8F2850 #848F28 #288F66
split-complementary
#33288F #8F6628 #508F28
monochromatic
#110D2F #221B5F #33288F #4435BF #6B5FD2

Accessibility & contrast

On white

11.41
#33288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#33288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33288F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33288F#FFFFFF#000000##FFFFFF
##33288F1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33288f;
/* rgb */ color: rgb(51, 40, 143);
/* oklch */ color: oklch(36.3% 0.161 279.5);
Tailwind
colors: {
  custom: {
    50: '#7763b1',
    500: '#33288f',
    950: '#000000',
  },
}
SCSS
$custom: #33288f;
$custom-light: #7763b1;
$custom-dark: #000000;
JSON
{
  "hex": "#33288f",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 246.408,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36339,
    "c": 0.16144,
    "h": 279.5
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#33288F
secondary
#AEB85B
accent
#E048CF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #33288F

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

Preview Lab → · Contrast checker → · Palette generator →

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