#2B313F#2B313F

#2B313F is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.4% C 0.027 H 266.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2B313F
RGBrgb(43, 49, 63)
HSLhsl(222, 19%, 21%)
HSVhsv(222, 32%, 25%)
CMYKcmyk(31.7%, 22.2%, 0%, 75.3%)
CIE-LABlab(20.32, 1.32, -9.65)
CIE-LCHlch(20.32, 9.74, 277.80°)
OKLaboklab(31.35% -0.0015 -0.0265)
OKLCHoklch(31.35% 0.027 266.7)
XYZxyz(2.9915, 3.0690, 5.1364)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B313F #3F392B
analogous
#2B3B3F #2B313F #2F2B3F
triadic
#2B313F #3F2B31 #313F2B
tetradic
#2B313F #3F2B3B #3F392B #2B3F2F
square
#2B313F #3F2B3B #3F392B #2B3F2F
split-complementary
#2B313F #3F2F2B #3B3F2B
monochromatic
#0C0E12 #12151B #2B313F #444D63 #5D6A88

Accessibility & contrast

On white

13.01
#2B313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B313F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B313F#FFFFFF#000000##FFFFFF
##2B313F1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3240
Deuteranopia (green-blind)
#2B303F
Tritanopia (blue-blind)
#263436
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b313f;
/* rgb */ color: rgb(43, 49, 63);
/* oklch */ color: oklch(31.4% 0.027 266.7);
Tailwind
colors: {
  custom: {
    50: '#646974',
    500: '#2b313f',
    950: '#000000',
  },
}
SCSS
$custom: #2b313f;
$custom-light: #646974;
$custom-dark: #000000;
JSON
{
  "hex": "#2b313f",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 222,
    "s": 18.868,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31351,
    "c": 0.02655,
    "h": 266.7
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#2B313F
secondary
#706856
accent
#A46CBC
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050608
muted
#7A7A7B

Preview Lab

Preview with #2B313F

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

Preview Lab → · Contrast checker → · Palette generator →

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