#2B313A#2B313A

#2B313A is a dark, near-neutral blue. Relative luminance 0.030; OKLCH L 31.1% C 0.018 H 258.4°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#2B313A
RGBrgb(43, 49, 58)
HSLhsl(216, 15%, 20%)
HSVhsv(216, 26%, 23%)
CMYKcmyk(25.9%, 15.5%, 0%, 77.3%)
CIE-LABlab(20.11, -0.15, -6.55)
CIE-LCHlch(20.11, 6.56, 268.71°)
OKLaboklab(31.12% -0.0037 -0.0179)
OKLCHoklch(31.12% 0.018 258.4)
XYZxyz(2.8581, 3.0156, 4.4337)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B313A #3A342B
analogous
#2B393A #2B313A #2D2B3A
triadic
#2B313A #3A2B31 #313A2B
tetradic
#2B313A #3A2B39 #3A342B #2B3A2D
square
#2B313A #3A2B39 #3A342B #2B3A2D
split-complementary
#2B313A #3A2D2B #393A2B
monochromatic
#0D0F12 #111317 #2B313A #454F5D #5F6C80

Accessibility & contrast

On white

13.10
#2B313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2B313A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B313A
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B313A#FFFFFF#000000##FFFFFF
##2B313A1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E313A
Deuteranopia (green-blind)
#2C303A
Tritanopia (blue-blind)
#273334
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b313a;
/* rgb */ color: rgb(43, 49, 58);
/* oklch */ color: oklch(31.1% 0.018 258.4);
Tailwind
colors: {
  custom: {
    50: '#646970',
    500: '#2b313a',
    950: '#000000',
  },
}
SCSS
$custom: #2b313a;
$custom-light: #646970;
$custom-dark: #000000;
JSON
{
  "hex": "#2b313a",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 216,
    "s": 14.851,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31115,
    "c": 0.01824,
    "h": 258.4
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#2B313A
secondary
#6A6256
accent
#9B70B8
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#050607
muted
#7A7A7A

Preview Lab

Preview with #2B313A

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

Preview Lab → · Contrast checker → · Palette generator →

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