#2B283D#2B283D

#2B283D is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.0% C 0.038 H 290.4°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#2B283D
RGBrgb(43, 40, 61)
HSLhsl(249, 21%, 20%)
HSVhsv(249, 34%, 24%)
CMYKcmyk(29.5%, 34.4%, 0%, 76.1%)
CIE-LABlab(17.31, 7.02, -12.89)
CIE-LCHlch(17.31, 14.68, 298.56°)
OKLaboklab(28.99% 0.0132 -0.0357)
OKLCHoklch(28.99% 0.038 290.4)
XYZxyz(2.5972, 2.3681, 4.7342)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B283D #3A3D28
analogous
#28303D #2B283D #36283D
triadic
#2B283D #3D2B28 #283D2B
tetradic
#2B283D #3D2830 #3A3D28 #283D36
square
#2B283D #3D2830 #3A3D28 #283D36
split-complementary
#2B283D #3D3628 #303D28
monochromatic
#0D0C12 #111018 #2B283D #454062 #5F5887

Accessibility & contrast

On white

14.25
#2B283D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2B283D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B283D
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B283D#FFFFFF#000000##FFFFFF
##2B283D1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3E
Deuteranopia (green-blind)
#232A3C
Tritanopia (blue-blind)
#272C2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b283d;
/* rgb */ color: rgb(43, 40, 61);
/* oklch */ color: oklch(29.0% 0.038 290.4);
Tailwind
colors: {
  custom: {
    50: '#656172',
    500: '#2b283d',
    950: '#000000',
  },
}
SCSS
$custom: #2b283d;
$custom-light: #656172;
$custom-dark: #000000;
JSON
{
  "hex": "#2b283d",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 61
  },
  "hsl": {
    "h": 248.571,
    "s": 20.792,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28985,
    "c": 0.03806,
    "h": 290.4
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#2B283D
secondary
#6A6E52
accent
#BD6AB2
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050508
muted
#7A797B

Preview Lab

Preview with #2B283D

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

Preview Lab → · Contrast checker → · Palette generator →

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