#33336F#33336F

#33336F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.5% C 0.101 H 279.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#33336F
RGBrgb(51, 51, 111)
HSLhsl(240, 37%, 32%)
HSVhsv(240, 54%, 44%)
CMYKcmyk(54.1%, 54.1%, 0%, 56.5%)
CIE-LABlab(24.38, 18.36, -34.95)
CIE-LCHlch(24.38, 39.48, 297.72°)
OKLaboklab(35.54% 0.0175 -0.0997)
OKLCHoklch(35.54% 0.101 279.9)
XYZxyz(5.4174, 4.2188, 15.5647)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33336F #6F6F33
analogous
#33516F #33336F #51336F
triadic
#33336F #6F3333 #336F33
tetradic
#33336F #6F3351 #6F6F33 #336F51
square
#33336F #6F3351 #6F6F33 #336F51
split-complementary
#33336F #6F5133 #516F33
monochromatic
#0C0C1B #202045 #33336F #464699 #6464B8

Accessibility & contrast

On white

11.39
#33336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33336F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33336F#FFFFFF#000000##FFFFFF
##33336F1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C71
Deuteranopia (green-blind)
#0E386E
Tritanopia (blue-blind)
#1A404C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33336f;
/* rgb */ color: rgb(51, 51, 111);
/* oklch */ color: oklch(35.5% 0.101 279.9);
Tailwind
colors: {
  custom: {
    50: '#706a99',
    500: '#33336f',
    950: '#000000',
  },
}
SCSS
$custom: #33336f;
$custom-light: #706a99;
$custom-dark: #000000;
JSON
{
  "hex": "#33336f",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 240,
    "s": 37.037,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35539,
    "c": 0.10122,
    "h": 279.9
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#33336F
secondary
#A0A05E
accent
#CD5BCD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #33336F

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

Preview Lab → · Contrast checker → · Palette generator →

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