#2A293D#2A293D

#2A293D is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.1% C 0.036 H 286.2°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#2A293D
RGBrgb(42, 41, 61)
HSLhsl(243, 20%, 20%)
HSVhsv(243, 33%, 24%)
CMYKcmyk(31.1%, 32.8%, 0%, 76.1%)
CIE-LABlab(17.53, 5.93, -12.56)
CIE-LCHlch(17.53, 13.90, 295.28°)
OKLaboklab(29.13% 0.0101 -0.0348)
OKLCHoklch(29.13% 0.036 286.2)
XYZxyz(2.5899, 2.4150, 4.7437)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A293D #3C3D29
analogous
#29323D #2A293D #34293D
triadic
#2A293D #3D2A29 #293D2A
tetradic
#2A293D #3D2932 #3C3D29 #293D34
square
#2A293D #3D2932 #3C3D29 #293D34
split-complementary
#2A293D #3D3429 #323D29
monochromatic
#0D0C12 #111018 #2A293D #434262 #5C5A86

Accessibility & contrast

On white

14.16
#2A293D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A293D
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A293D#FFFFFF#000000##FFFFFF
##2A293D1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C3E
Deuteranopia (green-blind)
#232A3C
Tritanopia (blue-blind)
#262D30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a293d;
/* rgb */ color: rgb(42, 41, 61);
/* oklch */ color: oklch(29.1% 0.036 286.2);
Tailwind
colors: {
  custom: {
    50: '#646272',
    500: '#2a293d',
    950: '#000000',
  },
}
SCSS
$custom: #2a293d;
$custom-light: #646272;
$custom-dark: #000000;
JSON
{
  "hex": "#2a293d",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 61
  },
  "hsl": {
    "h": 243,
    "s": 19.608,
    "l": 20
  },
  "oklch": {
    "l": 0.29129,
    "c": 0.0362,
    "h": 286.2
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#2A293D
secondary
#6D6E54
accent
#BC6CB8
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#050508
muted
#7A797B

Preview Lab

Preview with #2A293D

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

Preview Lab → · Contrast checker → · Palette generator →

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