#2B2B45#2B2B45

#2B2B45 is a dark, muted blue. Relative luminance 0.027; OKLCH L 30.2% C 0.047 H 283.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#2B2B45
RGBrgb(43, 43, 69)
HSLhsl(240, 23%, 22%)
HSVhsv(240, 38%, 27%)
CMYKcmyk(37.7%, 37.7%, 0%, 72.9%)
CIE-LABlab(18.67, 7.39, -16.28)
CIE-LCHlch(18.67, 17.88, 294.41°)
OKLaboklab(30.17% 0.0107 -0.0454)
OKLCHoklch(30.17% 0.047 283.2)
XYZxyz(2.9340, 2.6709, 5.9900)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B45 #45452B
analogous
#2B3845 #2B2B45 #382B45
triadic
#2B2B45 #452B2B #2B452B
tetradic
#2B2B45 #452B38 #45452B #2B4538
square
#2B2B45 #452B38 #45452B #2B4538
split-complementary
#2B2B45 #45382B #38452B
monochromatic
#0C0C13 #14141F #2B2B45 #42426B #5A5A90

Accessibility & contrast

On white

13.69
#2B2B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2B2B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B45
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B45#FFFFFF#000000##FFFFFF
##2B2B451.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232E46
Deuteranopia (green-blind)
#222D44
Tritanopia (blue-blind)
#243034
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b2b45;
/* rgb */ color: rgb(43, 43, 69);
/* oklch */ color: oklch(30.2% 0.047 283.2);
Tailwind
colors: {
  custom: {
    50: '#656478',
    500: '#2b2b45',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b45;
$custom-light: #656478;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b45",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 69
  },
  "hsl": {
    "h": 240,
    "s": 23.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30172,
    "c": 0.04665,
    "h": 283.2
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#2B2B45
secondary
#767655
accent
#C068C0
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#050509
muted
#7A797B

Preview Lab

Preview with #2B2B45

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

Preview Lab → · Contrast checker → · Palette generator →

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