#212331#212331

#212331 is a dark, muted blue. Relative luminance 0.017; OKLCH L 26.1% C 0.026 H 278.1°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#212331
RGBrgb(33, 35, 49)
HSLhsl(233, 20%, 16%)
HSVhsv(233, 33%, 19%)
CMYKcmyk(32.7%, 28.6%, 0%, 80.8%)
CIE-LABlab(14.10, 3.10, -9.49)
CIE-LCHlch(14.10, 9.98, 288.09°)
OKLaboklab(26.06% 0.0037 -0.0261)
OKLCHoklch(26.06% 0.026 278.1)
XYZxyz(1.7825, 1.7471, 3.1484)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212331 #312F21
analogous
#212B31 #212331 #272131
triadic
#212331 #312123 #233121
tetradic
#212331 #31212B #312F21 #213127
square
#212331 #31212B #312F21 #213127
split-complementary
#212331 #312721 #2B3121
monochromatic
#0C0D12 #0C0D12 #212331 #3A3D56 #52577A

Accessibility & contrast

On white

15.56
#212331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#212331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212331
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212331#FFFFFF#000000##FFFFFF
##2123311.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2432
Deuteranopia (green-blind)
#1E2331
Tritanopia (blue-blind)
#1D2628
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #212331;
/* rgb */ color: rgb(33, 35, 49);
/* oklch */ color: oklch(26.1% 0.026 278.1);
Tailwind
colors: {
  custom: {
    50: '#5c5d69',
    500: '#212331',
    950: '#000000',
  },
}
SCSS
$custom: #212331;
$custom-light: #5c5d69;
$custom-dark: #000000;
JSON
{
  "hex": "#212331",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 49
  },
  "hsl": {
    "h": 232.5,
    "s": 19.512,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26061,
    "c": 0.02641,
    "h": 278.1
  },
  "luminance": 0.01747
}

Semantic roles & 50–950 ramp

primary
#212331
secondary
#63604B
accent
#B26CBC
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #212331

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

Preview Lab → · Contrast checker → · Palette generator →

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