#2B283F#2B283F

#2B283F is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.1% C 0.042 H 289.5°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#2B283F
RGBrgb(43, 40, 63)
HSLhsl(248, 22%, 20%)
HSVhsv(248, 37%, 25%)
CMYKcmyk(31.7%, 36.5%, 0%, 75.3%)
CIE-LABlab(17.41, 7.63, -14.12)
CIE-LCHlch(17.41, 16.05, 298.38°)
OKLaboklab(29.1% 0.0139 -0.0392)
OKLCHoklch(29.1% 0.042 289.5)
XYZxyz(2.6520, 2.3900, 5.0233)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B283F #3C3F28
analogous
#28303F #2B283F #36283F
triadic
#2B283F #3F2B28 #283F2B
tetradic
#2B283F #3F2830 #3C3F28 #283F36
square
#2B283F #3F2830 #3C3F28 #283F36
split-complementary
#2B283F #3F3628 #303F28
monochromatic
#0D0C13 #11101A #2B283F #454064 #5E588A

Accessibility & contrast

On white

14.21
#2B283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2B283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B283F
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B283F#FFFFFF#000000##FFFFFF
##2B283F1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B40
Deuteranopia (green-blind)
#222A3E
Tritanopia (blue-blind)
#262C30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b283f;
/* rgb */ color: rgb(43, 40, 63);
/* oklch */ color: oklch(29.1% 0.042 289.5);
Tailwind
colors: {
  custom: {
    50: '#656174',
    500: '#2b283f',
    950: '#000000',
  },
}
SCSS
$custom: #2b283f;
$custom-light: #656174;
$custom-dark: #000000;
JSON
{
  "hex": "#2b283f",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 247.826,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29098,
    "c": 0.04158,
    "h": 289.5
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#2B283F
secondary
#6D7152
accent
#BF69B4
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#050508
muted
#7A797B

Preview Lab

Preview with #2B283F

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

Preview Lab → · Contrast checker → · Palette generator →

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