#333352#333352

#333352 is a dark, muted blue. Relative luminance 0.037; OKLCH L 33.6% C 0.054 H 283.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#333352
RGBrgb(51, 51, 82)
HSLhsl(240, 23%, 26%)
HSVhsv(240, 38%, 32%)
CMYKcmyk(37.8%, 37.8%, 0%, 67.8%)
CIE-LABlab(22.59, 8.63, -18.87)
CIE-LCHlch(22.59, 20.75, 294.58°)
OKLaboklab(33.59% 0.0123 -0.0527)
OKLCHoklch(33.59% 0.054 283.1)
XYZxyz(4.0716, 3.6805, 8.4769)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333352 #525233
analogous
#334252 #333352 #423352
triadic
#333352 #523333 #335233
tetradic
#333352 #523342 #525233 #335242
square
#333352 #523342 #525233 #335242
split-complementary
#333352 #524233 #425233
monochromatic
#0C0C13 #1C1C2C #333352 #4A4A78 #62629D

Accessibility & contrast

On white

12.10
#333352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#333352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333352
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333352#FFFFFF#000000##FFFFFF
##3333521.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293753
Deuteranopia (green-blind)
#283551
Tritanopia (blue-blind)
#2B393E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #333352;
/* rgb */ color: rgb(51, 51, 82);
/* oklch */ color: oklch(33.6% 0.054 283.1);
Tailwind
colors: {
  custom: {
    50: '#6c6a82',
    500: '#333352',
    950: '#000000',
  },
}
SCSS
$custom: #333352;
$custom-light: #6c6a82;
$custom-dark: #000000;
JSON
{
  "hex": "#333352",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 82
  },
  "hsl": {
    "h": 240,
    "s": 23.308,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33592,
    "c": 0.05413,
    "h": 283.1
  },
  "luminance": 0.03681
}

Semantic roles & 50–950 ramp

primary
#333352
secondary
#83835E
accent
#C068C0
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#07060A
muted
#7A7A7C

Preview Lab

Preview with #333352

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

Preview Lab → · Contrast checker → · Palette generator →

#333352 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva