#33336D#33336D

#33336D is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.098 H 280.1°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#33336D
RGBrgb(51, 51, 109)
HSLhsl(240, 36%, 31%)
HSVhsv(240, 53%, 43%)
CMYKcmyk(53.2%, 53.2%, 0%, 57.3%)
CIE-LABlab(24.24, 17.66, -33.89)
CIE-LCHlch(24.24, 38.22, 297.53°)
OKLaboklab(35.39% 0.0173 -0.0966)
OKLCHoklch(35.39% 0.098 280.1)
XYZxyz(5.3085, 4.1753, 14.9912)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33336D #6D6D33
analogous
#33506D #33336D #50336D
triadic
#33336D #6D3333 #336D33
tetradic
#33336D #6D3350 #6D6D33 #336D50
square
#33336D #6D3350 #6D6D33 #336D50
split-complementary
#33336D #6D5033 #506D33
monochromatic
#0C0C1A #1F1F43 #33336D #474797 #6464B6

Accessibility & contrast

On white

11.44
#33336D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33336D
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33336D#FFFFFF#000000##FFFFFF
##33336D1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C6F
Deuteranopia (green-blind)
#11376C
Tritanopia (blue-blind)
#1C404B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33336d;
/* rgb */ color: rgb(51, 51, 109);
/* oklch */ color: oklch(35.4% 0.098 280.1);
Tailwind
colors: {
  custom: {
    50: '#6f6a97',
    500: '#33336d',
    950: '#000000',
  },
}
SCSS
$custom: #33336d;
$custom-light: #6f6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#33336d",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 240,
    "s": 36.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35389,
    "c": 0.09812,
    "h": 280.1
  },
  "luminance": 0.04176
}

Semantic roles & 50–950 ramp

primary
#33336D
secondary
#9E9E5E
accent
#CC5CCC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060D
muted
#7B7A7E

Preview Lab

Preview with #33336D

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

Preview Lab → · Contrast checker → · Palette generator →

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