#2B313C#2B313C

#2B313C is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.2% C 0.021 H 262.5°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#2B313C
RGBrgb(43, 49, 60)
HSLhsl(219, 17%, 20%)
HSVhsv(219, 28%, 24%)
CMYKcmyk(28.3%, 18.3%, 0%, 76.5%)
CIE-LABlab(20.19, 0.43, -7.80)
CIE-LCHlch(20.19, 7.81, 273.16°)
OKLaboklab(31.21% -0.0028 -0.0213)
OKLCHoklch(31.21% 0.022 262.5)
XYZxyz(2.9100, 3.0364, 4.7068)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B313C #3C362B
analogous
#2B393C #2B313C #2D2B3C
triadic
#2B313C #3C2B31 #313C2B
tetradic
#2B313C #3C2B39 #3C362B #2B3C2D
square
#2B313C #3C2B39 #3C362B #2B3C2D
split-complementary
#2B313C #3C2D2B #393C2B
monochromatic
#0D0F12 #111418 #2B313C #454E60 #5E6B83

Accessibility & contrast

On white

13.07
#2B313C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B313C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B313C#FFFFFF#000000##FFFFFF
##2B313C1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D323D
Deuteranopia (green-blind)
#2C303C
Tritanopia (blue-blind)
#273335
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b313c;
/* rgb */ color: rgb(43, 49, 60);
/* oklch */ color: oklch(31.2% 0.021 262.5);
Tailwind
colors: {
  custom: {
    50: '#646971',
    500: '#2b313c',
    950: '#000000',
  },
}
SCSS
$custom: #2b313c;
$custom-light: #646971;
$custom-dark: #000000;
JSON
{
  "hex": "#2b313c",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 218.824,
    "s": 16.505,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31207,
    "c": 0.0215,
    "h": 262.5
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#2B313C
secondary
#6D6556
accent
#9F6FB9
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#050607
muted
#7A7A7A

Preview Lab

Preview with #2B313C

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

Preview Lab → · Contrast checker → · Palette generator →

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