#2B313D#2B313D

#2B313D is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.3% C 0.023 H 264.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2B313D
RGBrgb(43, 49, 61)
HSLhsl(220, 17%, 20%)
HSVhsv(220, 30%, 24%)
CMYKcmyk(29.5%, 19.7%, 0%, 76.1%)
CIE-LABlab(20.23, 0.72, -8.42)
CIE-LCHlch(20.23, 8.45, 274.91°)
OKLaboklab(31.25% -0.0024 -0.023)
OKLCHoklch(31.25% 0.023 264.2)
XYZxyz(2.9366, 3.0471, 4.8474)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B313D #3D372B
analogous
#2B3A3D #2B313D #2E2B3D
triadic
#2B313D #3D2B31 #313D2B
tetradic
#2B313D #3D2B3A #3D372B #2B3D2E
square
#2B313D #3D2B3A #3D372B #2B3D2E
split-complementary
#2B313D #3D2E2B #3A3D2B
monochromatic
#0D0E12 #121419 #2B313D #444E61 #5E6B85

Accessibility & contrast

On white

13.05
#2B313D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2B313D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B313D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B313D#FFFFFF#000000##FFFFFF
##2B313D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D323E
Deuteranopia (green-blind)
#2B303D
Tritanopia (blue-blind)
#263335
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b313d;
/* rgb */ color: rgb(43, 49, 61);
/* oklch */ color: oklch(31.3% 0.023 264.2);
Tailwind
colors: {
  custom: {
    50: '#646972',
    500: '#2b313d',
    950: '#000000',
  },
}
SCSS
$custom: #2b313d;
$custom-light: #646972;
$custom-dark: #000000;
JSON
{
  "hex": "#2b313d",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 220,
    "s": 17.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31254,
    "c": 0.02317,
    "h": 264.2
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#2B313D
secondary
#6E6656
accent
#A16EBA
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#050608
muted
#7A7A7B

Preview Lab

Preview with #2B313D

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

Preview Lab → · Contrast checker → · Palette generator →

#2B313D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva