#2A293B#2A293B

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

Color values

HEX#2A293B
RGBrgb(42, 41, 59)
HSLhsl(243, 18%, 20%)
HSVhsv(243, 31%, 23%)
CMYKcmyk(28.8%, 30.5%, 0%, 76.9%)
CIE-LABlab(17.43, 5.33, -11.33)
CIE-LCHlch(17.43, 12.52, 295.18°)
OKLaboklab(29.02% 0.0094 -0.0312)
OKLCHoklch(29.02% 0.033 286.7)
XYZxyz(2.5370, 2.3938, 4.4652)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A293B #3A3B29
analogous
#29313B #2A293B #33293B
triadic
#2A293B #3B2A29 #293B2A
tetradic
#2A293B #3B2931 #3A3B29 #293B33
square
#2A293B #3B2931 #3A3B29 #293B33
split-complementary
#2A293B #3B3329 #313B29
monochromatic
#0D0D12 #101017 #2A293B #44425F #5D5B83

Accessibility & contrast

On white

14.20
#2A293B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A293B
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A293B#FFFFFF#000000##FFFFFF
##2A293B1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3C
Deuteranopia (green-blind)
#242A3B
Tritanopia (blue-blind)
#262C2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a293b;
/* rgb */ color: rgb(42, 41, 59);
/* oklch */ color: oklch(29.0% 0.033 286.7);
Tailwind
colors: {
  custom: {
    50: '#646271',
    500: '#2a293b',
    950: '#000000',
  },
}
SCSS
$custom: #2a293b;
$custom-light: #646271;
$custom-dark: #000000;
JSON
{
  "hex": "#2a293b",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 59
  },
  "hsl": {
    "h": 243.333,
    "s": 18,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29021,
    "c": 0.03262,
    "h": 286.7
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#2A293B
secondary
#6B6C54
accent
#BB6DB6
background
#F5F5F6
surface
#EAEAEC
border
#C6C6C7
text
#050507
muted
#79797A

Preview Lab

Preview with #2A293B

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

Preview Lab → · Contrast checker → · Palette generator →

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