#212935#212935

#212935 is a dark, muted blue. Relative luminance 0.022; OKLCH L 27.9% C 0.025 H 258.3°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#212935
RGBrgb(33, 41, 53)
HSLhsl(216, 23%, 17%)
HSVhsv(216, 38%, 21%)
CMYKcmyk(37.7%, 22.6%, 0%, 79.2%)
CIE-LABlab(16.34, 0.08, -8.89)
CIE-LCHlch(16.34, 8.89, 270.54°)
OKLaboklab(27.87% -0.005 -0.0245)
OKLCHoklch(27.87% 0.025 258.3)
XYZxyz(2.0626, 2.1662, 3.6769)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212935 #352D21
analogous
#213335 #212935 #232135
triadic
#212935 #352129 #293521
tetradic
#212935 #352133 #352D21 #213523
square
#212935 #352133 #352D21 #213523
split-complementary
#212935 #352321 #333521
monochromatic
#0C0F13 #0C0F13 #212935 #38465B #506380

Accessibility & contrast

On white

14.65
#212935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#212935 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212935
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212935#FFFFFF#000000##FFFFFF
##2129351.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252A36
Deuteranopia (green-blind)
#232835
Tritanopia (blue-blind)
#1B2C2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #212935;
/* rgb */ color: rgb(33, 41, 53);
/* oklch */ color: oklch(27.9% 0.025 258.3);
Tailwind
colors: {
  custom: {
    50: '#5d626c',
    500: '#212935',
    950: '#000000',
  },
}
SCSS
$custom: #212935;
$custom-light: #5d626c;
$custom-dark: #000000;
JSON
{
  "hex": "#212935",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 53
  },
  "hsl": {
    "h": 216,
    "s": 23.256,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2787,
    "c": 0.02501,
    "h": 258.3
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#212935
secondary
#675C4A
accent
#9D68C0
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#040507
muted
#79797A

Preview Lab

Preview with #212935

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

Preview Lab → · Contrast checker → · Palette generator →

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