#333641#333641

#333641 is a dark, near-neutral blue. Relative luminance 0.037; OKLCH L 33.4% C 0.020 H 273.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#333641
RGBrgb(51, 54, 65)
HSLhsl(227, 12%, 23%)
HSVhsv(227, 22%, 25%)
CMYKcmyk(21.5%, 16.9%, 0%, 74.5%)
CIE-LABlab(22.74, 1.54, -7.27)
CIE-LCHlch(22.74, 7.43, 281.99°)
OKLaboklab(33.45% 0.0011 -0.0198)
OKLCHoklch(33.45% 0.02 273.3)
XYZxyz(3.6383, 3.7237, 5.5271)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333641 #413E33
analogous
#333D41 #333641 #373341
triadic
#333641 #413336 #364133
tetradic
#333641 #41333D #413E33 #334137
square
#333641 #41333D #413E33 #334137
split-complementary
#333641 #413733 #3D4133
monochromatic
#0D0E11 #181A1F #333641 #4E5263 #696F86

Accessibility & contrast

On white

12.04
#333641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333641
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333641#FFFFFF#000000##FFFFFF
##3336411.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333742
Deuteranopia (green-blind)
#323641
Tritanopia (blue-blind)
#30383A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #333641;
/* rgb */ color: rgb(51, 54, 65);
/* oklch */ color: oklch(33.4% 0.020 273.3);
Tailwind
colors: {
  custom: {
    50: '#6a6c75',
    500: '#333641',
    950: '#000000',
  },
}
SCSS
$custom: #333641;
$custom-light: #6a6c75;
$custom-dark: #000000;
JSON
{
  "hex": "#333641",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 65
  },
  "hsl": {
    "h": 227.143,
    "s": 12.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33447,
    "c": 0.0198,
    "h": 273.3
  },
  "luminance": 0.03724
}

Semantic roles & 50–950 ramp

primary
#333641
secondary
#716D5F
accent
#A773B5
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060708
muted
#7A7A7B

Preview Lab

Preview with #333641

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

Preview Lab → · Contrast checker → · Palette generator →

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