#2A293F#2A293F

#2A293F is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.2% C 0.040 H 285.7°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#2A293F
RGBrgb(42, 41, 63)
HSLhsl(243, 21%, 20%)
HSVhsv(243, 35%, 25%)
CMYKcmyk(33.3%, 34.9%, 0%, 75.3%)
CIE-LABlab(17.63, 6.55, -13.79)
CIE-LCHlch(17.63, 15.27, 295.42°)
OKLaboklab(29.24% 0.0108 -0.0383)
OKLCHoklch(29.24% 0.04 285.7)
XYZxyz(2.6448, 2.4369, 5.0327)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A293F #3E3F29
analogous
#29333F #2A293F #35293F
triadic
#2A293F #3F2A29 #293F2A
tetradic
#2A293F #3F2933 #3E3F29 #293F35
square
#2A293F #3F2933 #3E3F29 #293F35
split-complementary
#2A293F #3F3529 #333F29
monochromatic
#0C0C13 #11111A #2A293F #434164 #5B5989

Accessibility & contrast

On white

14.12
#2A293F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2A293F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A293F
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A293F#FFFFFF#000000##FFFFFF
##2A293F1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C40
Deuteranopia (green-blind)
#222B3E
Tritanopia (blue-blind)
#252D31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a293f;
/* rgb */ color: rgb(42, 41, 63);
/* oklch */ color: oklch(29.2% 0.040 285.7);
Tailwind
colors: {
  custom: {
    50: '#646274',
    500: '#2a293f',
    950: '#000000',
  },
}
SCSS
$custom: #2a293f;
$custom-light: #646274;
$custom-dark: #000000;
JSON
{
  "hex": "#2a293f",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 63
  },
  "hsl": {
    "h": 242.727,
    "s": 21.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29241,
    "c": 0.03976,
    "h": 285.7
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#2A293F
secondary
#6F7053
accent
#BE6ABA
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#050508
muted
#7A797B

Preview Lab

Preview with #2A293F

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

Preview Lab → · Contrast checker → · Palette generator →

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