#2A293E#2A293E

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

Color values

HEX#2A293E
RGBrgb(42, 41, 62)
HSLhsl(243, 20%, 20%)
HSVhsv(243, 34%, 24%)
CMYKcmyk(32.3%, 33.9%, 0%, 75.7%)
CIE-LABlab(17.58, 6.24, -13.18)
CIE-LCHlch(17.58, 14.58, 295.34°)
OKLaboklab(29.19% 0.0104 -0.0365)
OKLCHoklch(29.19% 0.038 286)
XYZxyz(2.6171, 2.4259, 4.8868)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A293E #3D3E29
analogous
#29323E #2A293E #34293E
triadic
#2A293E #3E2A29 #293E2A
tetradic
#2A293E #3E2932 #3D3E29 #293E34
square
#2A293E #3E2932 #3D3E29 #293E34
split-complementary
#2A293E #3E3429 #323E29
monochromatic
#0C0C12 #111119 #2A293E #434163 #5C5A88

Accessibility & contrast

On white

14.14
#2A293E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A293E
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A293E#FFFFFF#000000##FFFFFF
##2A293E1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C3F
Deuteranopia (green-blind)
#232B3D
Tritanopia (blue-blind)
#252D30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a293e;
/* rgb */ color: rgb(42, 41, 62);
/* oklch */ color: oklch(29.2% 0.038 286.0);
Tailwind
colors: {
  custom: {
    50: '#646273',
    500: '#2a293e',
    950: '#000000',
  },
}
SCSS
$custom: #2a293e;
$custom-light: #646273;
$custom-dark: #000000;
JSON
{
  "hex": "#2a293e",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 62
  },
  "hsl": {
    "h": 242.857,
    "s": 20.388,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29185,
    "c": 0.03798,
    "h": 286
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#2A293E
secondary
#6E6F53
accent
#BD6BB9
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#050508
muted
#7A797B

Preview Lab

Preview with #2A293E

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

Preview Lab → · Contrast checker → · Palette generator →

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