#2B293F#2B293F

#2B293F is a dark, muted blue. Relative luminance 0.025; OKLCH L 29.3% C 0.040 H 287.9°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#2B293F
RGBrgb(43, 41, 63)
HSLhsl(245, 21%, 20%)
HSVhsv(245, 35%, 25%)
CMYKcmyk(31.7%, 34.9%, 0%, 75.3%)
CIE-LABlab(17.73, 6.92, -13.63)
CIE-LCHlch(17.73, 15.29, 296.91°)
OKLaboklab(29.34% 0.0122 -0.0378)
OKLCHoklch(29.34% 0.04 287.9)
XYZxyz(2.6862, 2.4583, 5.0346)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B293F #3D3F29
analogous
#29323F #2B293F #36293F
triadic
#2B293F #3F2B29 #293F2B
tetradic
#2B293F #3F2932 #3D3F29 #293F36
square
#2B293F #3F2932 #3D3F29 #293F36
split-complementary
#2B293F #3F3629 #323F29
monochromatic
#0D0C13 #12111A #2B293F #444164 #5E5989

Accessibility & contrast

On white

14.08
#2B293F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2B293F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B293F
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B293F#FFFFFF#000000##FFFFFF
##2B293F1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C40
Deuteranopia (green-blind)
#232B3E
Tritanopia (blue-blind)
#262D31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b293f;
/* rgb */ color: rgb(43, 41, 63);
/* oklch */ color: oklch(29.3% 0.040 287.9);
Tailwind
colors: {
  custom: {
    50: '#656274',
    500: '#2b293f',
    950: '#000000',
  },
}
SCSS
$custom: #2b293f;
$custom-light: #656274;
$custom-dark: #000000;
JSON
{
  "hex": "#2b293f",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 63
  },
  "hsl": {
    "h": 245.455,
    "s": 21.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29341,
    "c": 0.0397,
    "h": 287.9
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#2B293F
secondary
#6E7053
accent
#BE6AB6
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#050508
muted
#7A797B

Preview Lab

Preview with #2B293F

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

Preview Lab → · Contrast checker → · Palette generator →

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