#33336E#33336E

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

Color values

HEX#33336E
RGBrgb(51, 51, 110)
HSLhsl(240, 37%, 32%)
HSVhsv(240, 54%, 43%)
CMYKcmyk(53.6%, 53.6%, 0%, 56.9%)
CIE-LABlab(24.31, 18.01, -34.42)
CIE-LCHlch(24.31, 38.85, 297.62°)
OKLaboklab(35.46% 0.0174 -0.0981)
OKLCHoklch(35.46% 0.1 280)
XYZxyz(5.3627, 4.1969, 15.2763)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33336E #6E6E33
analogous
#33516E #33336E #51336E
triadic
#33336E #6E3333 #336E33
tetradic
#33336E #6E3351 #6E6E33 #336E51
square
#33336E #6E3351 #6E6E33 #336E51
split-complementary
#33336E #6E5133 #516E33
monochromatic
#0C0C1A #202044 #33336E #464698 #6464B7

Accessibility & contrast

On white

11.42
#33336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33336E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33336E#FFFFFF#000000##FFFFFF
##33336E1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163C70
Deuteranopia (green-blind)
#10386D
Tritanopia (blue-blind)
#1B404B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33336e;
/* rgb */ color: rgb(51, 51, 110);
/* oklch */ color: oklch(35.5% 0.100 280.0);
Tailwind
colors: {
  custom: {
    50: '#706a98',
    500: '#33336e',
    950: '#000000',
  },
}
SCSS
$custom: #33336e;
$custom-light: #706a98;
$custom-dark: #000000;
JSON
{
  "hex": "#33336e",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 240,
    "s": 36.646,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35464,
    "c": 0.09968,
    "h": 280
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33336E

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

Preview Lab → · Contrast checker → · Palette generator →

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