#2A2C3C#2A2C3C

#2A2C3C is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.8% C 0.029 H 278.9°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#2A2C3C
RGBrgb(42, 44, 60)
HSLhsl(233, 18%, 20%)
HSVhsv(233, 30%, 24%)
CMYKcmyk(30%, 26.7%, 0%, 76.5%)
CIE-LABlab(18.45, 3.51, -10.45)
CIE-LCHlch(18.45, 11.03, 288.57°)
OKLaboklab(29.83% 0.0045 -0.0288)
OKLCHoklch(29.83% 0.029 278.9)
XYZxyz(2.6709, 2.6198, 4.6390)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C3C #3C3A2A
analogous
#2A353C #2A2C3C #312A3C
triadic
#2A2C3C #3C2A2C #2C3C2A
tetradic
#2A2C3C #3C2A35 #3C3A2A #2A3C31
square
#2A2C3C #3C2A35 #3C3A2A #2A3C31
split-complementary
#2A2C3C #3C312A #353C2A
monochromatic
#0D0D12 #111218 #2A2C3C #434660 #5C6184

Accessibility & contrast

On white

13.78
#2A2C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2A2C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C3C
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C3C#FFFFFF#000000##FFFFFF
##2A2C3C1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282E3D
Deuteranopia (green-blind)
#272C3C
Tritanopia (blue-blind)
#262F31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a2c3c;
/* rgb */ color: rgb(42, 44, 60);
/* oklch */ color: oklch(29.8% 0.029 278.9);
Tailwind
colors: {
  custom: {
    50: '#646571',
    500: '#2a2c3c',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c3c;
$custom-light: #646571;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c3c",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 60
  },
  "hsl": {
    "h": 233.333,
    "s": 17.647,
    "l": 20
  },
  "oklch": {
    "l": 0.29828,
    "c": 0.02912,
    "h": 278.9
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#2A2C3C
secondary
#6D6A55
accent
#B26DBA
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050507
muted
#797A7A

Preview Lab

Preview with #2A2C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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