#333751#333751

#333751 is a dark, muted blue. Relative luminance 0.040; OKLCH L 34.5% C 0.046 H 277.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#333751
RGBrgb(51, 55, 81)
HSLhsl(232, 23%, 26%)
HSVhsv(232, 37%, 32%)
CMYKcmyk(37%, 32.1%, 0%, 68.2%)
CIE-LABlab(23.77, 5.57, -16.36)
CIE-LCHlch(23.77, 17.29, 288.80°)
OKLaboklab(34.49% 0.0056 -0.0455)
OKLCHoklch(34.49% 0.046 277)
XYZxyz(4.2162, 4.0301, 8.3387)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333751 #514D33
analogous
#334651 #333751 #3E3351
triadic
#333751 #513337 #375133
tetradic
#333751 #513346 #514D33 #33513E
square
#333751 #513346 #514D33 #33513E
split-complementary
#333751 #513E33 #465133
monochromatic
#0C0D13 #1B1D2B #333751 #4B5077 #626A9C

Accessibility & contrast

On white

11.63
#333751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#333751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333751
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333751#FFFFFF#000000##FFFFFF
##3337511.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A52
Deuteranopia (green-blind)
#2D3750
Tritanopia (blue-blind)
#2B3C40
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #333751;
/* rgb */ color: rgb(51, 55, 81);
/* oklch */ color: oklch(34.5% 0.046 277.0);
Tailwind
colors: {
  custom: {
    50: '#6c6d82',
    500: '#333751',
    950: '#000000',
  },
}
SCSS
$custom: #333751;
$custom-light: #6c6d82;
$custom-dark: #000000;
JSON
{
  "hex": "#333751",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 81
  },
  "hsl": {
    "h": 232,
    "s": 22.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34489,
    "c": 0.04583,
    "h": 277
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#333751
secondary
#827D5E
accent
#B469BF
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#07070A
muted
#7A7A7C

Preview Lab

Preview with #333751

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

Preview Lab → · Contrast checker → · Palette generator →

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