#2A293A#2A293A

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

Color values

HEX#2A293A
RGBrgb(42, 41, 58)
HSLhsl(244, 17%, 19%)
HSVhsv(244, 29%, 23%)
CMYKcmyk(27.6%, 29.3%, 0%, 77.3%)
CIE-LABlab(17.38, 5.03, -10.71)
CIE-LCHlch(17.38, 11.83, 295.14°)
OKLaboklab(28.97% 0.009 -0.0295)
OKLCHoklch(28.97% 0.031 287)
XYZxyz(2.5113, 2.3836, 4.3299)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A293A #393A29
analogous
#29313A #2A293A #33293A
triadic
#2A293A #3A2A29 #293A2A
tetradic
#2A293A #3A2931 #393A29 #293A33
square
#2A293A #3A2931 #393A29 #293A33
split-complementary
#2A293A #3A3329 #313A29
monochromatic
#0D0D12 #101016 #2A293A #44425E #5E5C82

Accessibility & contrast

On white

14.22
#2A293A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A293A
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A293A#FFFFFF#000000##FFFFFF
##2A293A1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3B
Deuteranopia (green-blind)
#242A3A
Tritanopia (blue-blind)
#262C2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a293a;
/* rgb */ color: rgb(42, 41, 58);
/* oklch */ color: oklch(29.0% 0.031 287.0);
Tailwind
colors: {
  custom: {
    50: '#646270',
    500: '#2a293a',
    950: '#000000',
  },
}
SCSS
$custom: #2a293a;
$custom-light: #646270;
$custom-dark: #000000;
JSON
{
  "hex": "#2a293a",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 58
  },
  "hsl": {
    "h": 243.529,
    "s": 17.172,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28968,
    "c": 0.03082,
    "h": 287
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#2A293A
secondary
#6A6B54
accent
#BA6EB5
background
#F5F5F6
surface
#EAEAEC
border
#C6C6C7
text
#050507
muted
#79797A

Preview Lab

Preview with #2A293A

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

Preview Lab → · Contrast checker → · Palette generator →

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