#33335D#33335D

#33335D is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.073 H 281.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#33335D
RGBrgb(51, 51, 93)
HSLhsl(240, 29%, 28%)
HSVhsv(240, 45%, 36%)
CMYKcmyk(45.2%, 45.2%, 0%, 63.5%)
CIE-LABlab(23.21, 12.20, -25.15)
CIE-LCHlch(23.21, 27.96, 295.88°)
OKLaboklab(34.27% 0.0149 -0.071)
OKLCHoklch(34.27% 0.073 281.9)
XYZxyz(4.5243, 3.8616, 10.8608)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33335D #5D5D33
analogous
#33485D #33335D #48335D
triadic
#33335D #5D3333 #335D33
tetradic
#33335D #5D3348 #5D5D33 #335D48
square
#33335D #5D3348 #5D5D33 #335D48
split-complementary
#33335D #5D4833 #485D33
monochromatic
#0B0B14 #1D1D35 #33335D #494985 #6262A9

Accessibility & contrast

On white

11.85
#33335D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#33335D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33335D
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33335D#FFFFFF#000000##FFFFFF
##33335D1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395F
Deuteranopia (green-blind)
#22365C
Tritanopia (blue-blind)
#263B43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #33335d;
/* rgb */ color: rgb(51, 51, 93);
/* oklch */ color: oklch(34.3% 0.073 281.9);
Tailwind
colors: {
  custom: {
    50: '#6d6a8b',
    500: '#33335d',
    950: '#000000',
  },
}
SCSS
$custom: #33335d;
$custom-light: #6d6a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#33335d",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 240,
    "s": 29.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34272,
    "c": 0.07252,
    "h": 281.9
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#33335D
secondary
#8E8E5E
accent
#C562C5
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #33335D

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

Preview Lab → · Contrast checker → · Palette generator →

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