#2A293C#2A293C

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

Color values

HEX#2A293C
RGBrgb(42, 41, 60)
HSLhsl(243, 19%, 20%)
HSVhsv(243, 32%, 24%)
CMYKcmyk(30%, 31.7%, 0%, 76.5%)
CIE-LABlab(17.48, 5.63, -11.95)
CIE-LCHlch(17.48, 13.21, 295.23°)
OKLaboklab(29.08% 0.0098 -0.033)
OKLCHoklch(29.08% 0.034 286.5)
XYZxyz(2.5632, 2.4043, 4.6031)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A293C #3B3C29
analogous
#29323C #2A293C #34293C
triadic
#2A293C #3C2A29 #293C2A
tetradic
#2A293C #3C2932 #3B3C29 #293C34
square
#2A293C #3C2932 #3B3C29 #293C34
split-complementary
#2A293C #3C3429 #323C29
monochromatic
#0D0C12 #111018 #2A293C #434260 #5D5B85

Accessibility & contrast

On white

14.18
#2A293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A293C
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A293C#FFFFFF#000000##FFFFFF
##2A293C1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3D
Deuteranopia (green-blind)
#242A3C
Tritanopia (blue-blind)
#262C30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a293c;
/* rgb */ color: rgb(42, 41, 60);
/* oklch */ color: oklch(29.1% 0.034 286.5);
Tailwind
colors: {
  custom: {
    50: '#646271',
    500: '#2a293c',
    950: '#000000',
  },
}
SCSS
$custom: #2a293c;
$custom-light: #646271;
$custom-dark: #000000;
JSON
{
  "hex": "#2a293c",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 243.158,
    "s": 18.812,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29075,
    "c": 0.03441,
    "h": 286.5
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#2A293C
secondary
#6C6D54
accent
#BB6CB7
background
#F5F5F6
surface
#EAEAEC
border
#C6C6C7
text
#050507
muted
#79797A

Preview Lab

Preview with #2A293C

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

Preview Lab → · Contrast checker → · Palette generator →

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