#2B263A#2B263A

#2B263A is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.3% C 0.037 H 295.4°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#2B263A
RGBrgb(43, 38, 58)
HSLhsl(255, 21%, 19%)
HSVhsv(255, 34%, 23%)
CMYKcmyk(25.9%, 34.5%, 0%, 77.3%)
CIE-LABlab(16.53, 7.54, -12.02)
CIE-LCHlch(16.53, 14.19, 302.12°)
OKLaboklab(28.33% 0.0158 -0.0331)
OKLCHoklch(28.33% 0.037 295.4)
XYZxyz(2.4529, 2.2053, 4.2986)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B263A #353A26
analogous
#262B3A #2B263A #35263A
triadic
#2B263A #3A2B26 #263A2B
tetradic
#2B263A #3A262B #353A26 #263A35
square
#2B263A #3A262B #353A26 #263A35
split-complementary
#2B263A #3A3526 #2B3A26
monochromatic
#0E0C12 #100E15 #2B263A #463E5F #625684

Accessibility & contrast

On white

14.57
#2B263A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2B263A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B263A
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B263A#FFFFFF#000000##FFFFFF
##2B263A1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293B
Deuteranopia (green-blind)
#222939
Tritanopia (blue-blind)
#28292D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b263a;
/* rgb */ color: rgb(43, 38, 58);
/* oklch */ color: oklch(28.3% 0.037 295.4);
Tailwind
colors: {
  custom: {
    50: '#646070',
    500: '#2b263a',
    950: '#000000',
  },
}
SCSS
$custom: #2b263a;
$custom-light: #646070;
$custom-dark: #000000;
JSON
{
  "hex": "#2b263a",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 58
  },
  "hsl": {
    "h": 255,
    "s": 20.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28334,
    "c": 0.03671,
    "h": 295.4
  },
  "luminance": 0.02205
}

Semantic roles & 50–950 ramp

primary
#2B263A
secondary
#656C50
accent
#BD6AA9
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050407
muted
#7A797A

Preview Lab

Preview with #2B263A

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

Preview Lab → · Contrast checker → · Palette generator →

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