#2A2E3E#2A2E3E

#2A2E3E is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.4% C 0.029 H 273.6°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#2A2E3E
RGBrgb(42, 46, 62)
HSLhsl(228, 19%, 20%)
HSVhsv(228, 32%, 24%)
CMYKcmyk(32.3%, 25.8%, 0%, 75.7%)
CIE-LABlab(19.20, 2.72, -10.68)
CIE-LCHlch(19.20, 11.03, 284.30°)
OKLaboklab(30.44% 0.0019 -0.0294)
OKLCHoklch(30.44% 0.029 273.6)
XYZxyz(2.8011, 2.7939, 4.9482)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E3E #3E3A2A
analogous
#2A383E #2A2E3E #302A3E
triadic
#2A2E3E #3E2A2E #2E3E2A
tetradic
#2A2E3E #3E2A38 #3E3A2A #2A3E30
square
#2A2E3E #3E2A38 #3E3A2A #2A3E30
split-complementary
#2A2E3E #3E302A #383E2A
monochromatic
#0C0E12 #11131A #2A2E3E #434962 #5B6487

Accessibility & contrast

On white

13.47
#2A2E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2A2E3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E3E
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E3E#FFFFFF#000000##FFFFFF
##2A2E3E1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292F3F
Deuteranopia (green-blind)
#282E3E
Tritanopia (blue-blind)
#253133
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a2e3e;
/* rgb */ color: rgb(42, 46, 62);
/* oklch */ color: oklch(30.4% 0.029 273.6);
Tailwind
colors: {
  custom: {
    50: '#646673',
    500: '#2a2e3e',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e3e;
$custom-light: #646673;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e3e",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 62
  },
  "hsl": {
    "h": 228,
    "s": 19.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3044,
    "c": 0.02949,
    "h": 273.6
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#2A2E3E
secondary
#6F6A55
accent
#AC6CBC
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050608
muted
#797A7B

Preview Lab

Preview with #2A2E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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